FG

Can't connect to localhost via browser. Can ping localhost

Fresh3 days ago
Mar 15, 2026175410 views
Confidence Score0%
0%

Problem

I’m trying to connect to through my browser to learn some Apache Tomcat stuff. When I tried to connect to localhost through Firefox, I couldn’t; when I tried through Internet Explorer, I could the first time, but not after that. I’m using Windows 7, and changed the hosts file to point localhost to …

Error Output

localhost

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can't connect to localhost via browser. Can ping localhost

Low Risk

Your problem comes from your Tomcat and Apache configurations. When you type in into Internet Explorer, it automatically suposes you're connecting to port 80. You’re going to have to make sure that Apache is correctly configured to work with Tomcat.…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment