View Full Version : Localhost?

08-10-2012, 12:10 AM
I have just loaded WAMP on my laptop and when I tried to test with the phpinfo file and I get an error saying: The device or resource (localhost) is not set up to accept connections on port 'The World Wed Web service(HTTP)'.

I checked with netstat and is not listed in TCP.
Also checked host file in Windows\system32\etc and = localhost.

Checked httpd config file in Apache and is localhost.

How do you set localhost up as your local server manually?

08-10-2012, 12:16 AM
try rebooting and seeing if the issue resolved itself

also in a browser

try both just "" and "localhost"

does the same error come up on both?

08-12-2012, 07:23 PM
Yes! I get the same error in both cases.

I had rebooted many times.

Incidently, I activated IIS in windows and it worked, but was using the IIS server, so I uninstalled.

Is this a problem connected to WAMP?

I am sure I have had this problem before, but can't remember how I overcome it.

08-13-2012, 12:32 AM
First off Windows isn't an OS I am familiar with, I use Linux on my Desktop (Ubuntu) and as my workstation (CentOS).

So take these as shots in the Dark that may or may not work...

1. Does disabling your firewall make any difference?
2. If you go into your wamp admin or the ports.conf file and change your port to say 75 then reboot and point the browser url to say make any difference (could be a port conflict)