Monday, April 26, 2010

Solution: Couldn't access WAMPServer via http://localhost/

Today I tried to run the WAMP Server installed in my Windows Vista. I could start the server and when I accessed http://localhost/ in the browser, I couldn't get anything instead of a blank page. I used the same installation earlier several times and it worked fine.

I was digging inside the php.ini file and suddenly I noticed that I have Skype running. I thought there might be some issues with the ports and tried Tools->Options->Advanced->Connection and saw the option "use port 80 and 443 as alternatives for incoming connections" was checked.
I tried to remove the check mark and gave 9000 (can be any non-used ports) in the blank of "use _____ for incoming connections".

I restarted both Skype and WAMP Server.

It was cool :) I could access the WAMP homepage via http://localhost/.
My guessing was right!


So, if you came across such problem, check whether Skype or any other program uses port '80' and change it's setting.

1 comment:

Isuru Udana said...

I faced this problem some time ago. But I couldn't find the solution by guessing :-). However I google it and found the solution.