work by Apache and port 80 [closed]

那年仲夏 提交于 2019-12-23 03:09:05

问题


Later, I worked by apache and I didn't any problem, but after install SQL Server 2008, apache don't work. I think there is problem on port 80.


回答1:


My SQL Processes usually take port 80 but im not sure how to change which port MY SQL uses. What do you see when you type http://localhost/ or http://127.0.0.1/ or your computer's local ip in your web browser?

To find which app is using Port 80 go on Command Prompt and type:

netstat -aon

Scroll up till you see some thing like:

TCP    0.0.0.0:80              LISTENING       ####

In the part that says ####, there will be a number!

Take note of that number and open Task Manager and go i=on services and look for that number under the "PID" tab. In my case it was 2264, so I'd look for 2264. When you find it there it tells you, but if it doesn't (like it says PID=4), you might have IIS on. So go to

Control Panel >> Administrative Tools >> Component Services >> Services (Local) and find Web Deployment Agent Service

Stop that service. Also, find World Wide Web Publishing Service and stop that...




回答2:


it may be because of the port 80 occupied by the SQL Server 2008. you can try to see if the it is occupied by SQL Server 2008 using netstat command if so then you can change the configuration either of apache or SQL Server 2008 and configure any of to a new port.

see how to change the port in SQL Server 2008




回答3:


  • see if the process is up running.
  • look the apache log
  • doubt its SQL taking port 80. You can find out by using command netstat to find out all the listening ports

Let's identify the issue first



来源:https://stackoverflow.com/questions/8722447/work-by-apache-and-port-80

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