Apache operation and port 80

Later I worked with apache and I had no problems, but apache does not work after installing SQL Server 2008. I think the problem is with port 80.

+1
source share
3 answers

My SQL processes usually take port 80, but I'm not sure how to change which port MY MY uses. What do you see when entering http://localhost/ or http://127.0.0.1/ or the local IP address of your computer in a web browser?

To find out which application uses port 80, run a command prompt and enter:

 netstat -aon 

Scroll up until you see something like:

 TCP 0.0.0.0:80 LISTENING #### 

The part that says #### will be a number!

Pay attention to this number and open the task manager and go = to services and find this number on the "PID" tab. In my case it was 2264, so I would look for 2264. When you find it there, it tells you, but if it does not (for example, it says PID = 4), you can enable IIS. So go to

Control Panel -> Administrative Tools -> Component Services -> Services (Local) and find the Web site deployment agent service

Stop this service. Also, find the World Wide Web Publishing Service and stop it ...

+2
source

this may be due to port 80 occupied by SQL Server 2008. you can try to find out if it is busy with SQL Server 2008 using the netstat command, if so, you can change the apache or SQL Server 2008 configuration and configure any of them to a new one port.

see how to change port in SQL Server 2008

+1
source
  • check if the process is running.
  • Check out the apache log
  • I doubt that the SQL port occupies port 80. You can find out using the netstat command to find out all listening ports

First indicate the problem

0
source

All Articles