My WAMP Server is not working after fresh installation? [closed]

自闭症网瘾萝莉.ら 提交于 2019-12-12 04:06:32

问题


The port is clear, and I have Skype listening on a different port, I just installed WAMP and I have attempted to restart the server.

The tray icon is perpetually RED despite me restarting and starting.

The error Google Chrome sends me when I attempt to visit localhost is: Google Chrome's connection attempt to localhost was rejected. The website may be down, or your network may not be properly configured.

Any input as to go about getting WAMP working?


回答1:


Most likely port 80 is already in use. You'll have to open your httpd.conf file and change

Listen 80 

to something else like

Listen 8080

Start your server and then instead of navigating to

http://localhost/ 

navigate to

http://localhost:8080



回答2:


  1. have a look into Windows Event log

  2. use a portscanner that dedects other services listening on port 80 (I think wampserver and xampp do have such a tool included)

  3. have a look into apache log

  4. check your local windows firewall




回答3:


  • Stop WAMP
  • netstat -ano|find ":80" in command-line
  • look for port 80 in the left column, and the PID in the right column
  • look up the pid on the right in your running services (Task Manager) to determine which application is using port 80
  • You may need to go to "View" -> "Select columns..." and check "PID"


来源:https://stackoverflow.com/questions/17301377/my-wamp-server-is-not-working-after-fresh-installation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!