Windows XP - weird networking problem

I have Win XP SP2 (yeah, I know, I should update) with one LAN card (192.168.0.3). The problem is that I cannot access services on localhost from localhost. For example, I have Apache (XAMMP actually) on my computer. If I type http://localhost or http://127.0.0.1 I get an error message saying that connection cannot be established. When I review Apache’s logs I see that it has started normally and it hasn’t received any connections and when I scan my ports from local machine or other machines on the same subnet they appear open. If I type http://192.168.0.3 it works, the pages load normally. The same thing happens with Privoxy (filtering, non-caching proxy), I can only access it via 192.168.0.3.

The real problem is accessing mysql because root is the only user and it is set to allow connections only from localhost. And Tor won’t even start.

My hosts file is clean, I tried shutting down my firewall (Comodo), that didn’t help, I can ping both localhost and 127.0.0.1 from local machine and I don’t know what else I can do. Please help.

Why haven’t you updated? Service Pack 3 has been out for years now.

  1. I’m lazy.
  2. I got very little space left on system partition, SP3 probably won’t fit.
  3. I have only 768 MB of RAM, SP3 will most likely eat up more RAM.

In that order.

Try adding this to your HOSTS file:

127.0.0.1 localhost loopback ::1 localhost

You might need to reboot for it to take affect

yeah i am Face the Same Problem how can Solve this :frowning:

<snip />

Added, rebooted and nothing happened. I still have the same problem.

IMHO this would have helped if my system couldn’t resolve ‘localhost’, but it can. I can ping ‘localhost’ and when I enter ‘http://localhost’ in my browser it resolves it to 127.0.0.1. And even if the system couldn’t resolve ‘localhost’ I could still use 127.0.0.1, but I can’t.

Dude upgrade your PC! atleast upgrade RAM and Hard disk.