开发者

Why doesn't http://localhost/ load anything with WAMP?

I recently tried installing WAMP but found that none of the pages will load. It also has an orange W logo, if that means anything. It does say (Tray Icon) that the WAMPserver is online though. I also did some research and found that Skype may cause problems and I removed the Use port 80 and 443 as alternatives for incoming connections option, but it still won't work. I get the following screen in my Chrome browser, a开发者_StackOverflow社区ny ideas?

Why doesn't http://localhost/ load anything with WAMP?

EDIT: After further research I found that something may have gone wrong with the installation and Skype. I don't know how this happened but after a re-instillation everything worked fine. Thanks for your guy's help.


The orange logo indicates that at least one service failed to start. You might try the following to troubleshoot the underlying reason:

  1. Check that the Apache service is running. Left-click the WAMP tray icon and check that under Apache > Service, the option to start the service is disabled/grayed out. If not, your Apache service isn't running and that's the cause.

  2. Check the port Apache is listening on. Again. left-click the WAMP icon, Apache > httpd.conf should open the configuration. Look for the Listen XX directive and note what the value for XX is. If not 80, you should use the url http://localhost:XX instead.

  3. If the value for Listen was indeed 80, you might want to check what process is bound to port 80. Left-click the tray icon, Apache > Service > Test port 80. This should tell you what process is bound to port 80. If nothing is listening at port 80, you should see the message Your port 80 is not actually used.. If Apache actually is listening on that port, you should see something like Apache/<version> (Win32) PHP/<version>.

  4. Finally, check the Apache error log. Left-click the icon, Apache > Apache error log. Scroll to the end of the file and look for any messages that might be relevant.

  5. Try a different browser

  6. Telnet to port XX and see if you're able to connect.


For this problem go :

wamp > Apache > Service > Install Service

After Install Your Apache Is Ok :D

   if not running, open this address use your web browser:
   127.0.0.1

(usually This problem see in Windows 8)


Skype uses port 80 if it is free. No need to uninstall skype, just start your webserver before skype and everything should be fine. Skype will find another port.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜