localhost but not 127.0.0.1 error
Posted by: Azderiel (---.2-1.cable.virginmedia.com)
Date: March 04, 2010 06:26PM

Having a couple problems with WAMP2 that I think might be related and if possible would like them fixed as soon as possible. First off, I'm running Vista 32 bit and IIS is disabled. I also changed my WAMP2 port to 808. I'll also state I've never used WAMP2 but used previous versions quite a bit.

Issue;
When I try access localhost:808 I get an "Unable to connect" error in Firefox.
Connecting through localhost does the same thing and this error was occurring before I changed the port to 808 so doesn't seem to be something I changed.

127.0.0.1:808 works fine. Can connect straight to it from there.
192.168.11.4:808 (connecting through my router) also works fine.
So, seems for whatever reason just localhost:808 wont work (nor localhost before previously changing the port). Probably something stupid I'm missing but I really cannot think what.
Firewall is disabled and port 808 forwarded from my router.

Second error, when I try connect to phpmyadmin3.2.0.1 through 127.0.0.1:808/phpmyadmin/ I get an error saying;
"phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server."
Is this normal since I'm not connecting through localhost but rather 127.0.0.1?
192.168.11.4:808/phpmyadmin/ obviously comes back as the usual "Forbidden" message (normal, I know)



Edited 1 time(s). Last edit at 03/04/2010 06:27PM by Azderiel.

Options: ReplyQuote
Re: localhost but not 127.0.0.1 error
Posted by: Azderiel (---.2-1.cable.virginmedia.com)
Date: March 04, 2010 06:44PM

Nevermind, solved it thanks to this poster in a previous thread;

yfastud Wrote:
-------------------------------------------------------
> IIS and Apache/Wamp are both web server and might
> conflict in some way, so you have to disable IIS
> in order for Wamp to work
>
> Disable IIS in Vista:
>
> Control Panel, Uninstall Programs, Turn Widows
> Features On or Off, uncheck Internet Information
> Services
>
> Disable IIS in XP:
>
> Control Panel, Add/Remove Programs, Add/Remove
> Windows Components, uncheck Internet Information
> Services (IIS)
>
> Restart computer, then restart Wamp
>
> Also, open file hosts in folder
> C:\WINDOWS\System32\drivers\etc and delete
> anything in there and have only this line and
> nothing else
>
> 127.0.0.1 localhost

Options: ReplyQuote


Sorry, only registered users may post in this forum.