Xampp; Apache Port 80 Busy

女生的网名这么多〃 提交于 2019-12-04 18:55:34

Open cports.exe (http://www.nirsoft.net/utils/cports.html), find in the column Local Port the port 80. Thus, you will know which program uses this port and you will be able to kill it.

For most people, port 80 is occupied by Skype by default. Simply uninstall Skype and port 80 will be freed. Apache should then work.

gihan

If you have skype running on your local computer it uses port 80 also. So port 80 can not allocate for MySQL. The solution is to stop running on skype and then start your xampp server. If it is also not working just try to uninstall skype and then again install your xampp server. This time probably can run MySQL.

Try to run this below command in cmd prompt

netstat -ano|find "port no"

Eg:

netstat -ano|find "3306"

TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 5164

TCP [::]:3306 [::]:0 LISTENING 5164

You could even use the pid number and check in windows task manager who is utilizing these pid so that you would come to know the exact process name

Please provide error log file if possible.

Major issue comes if you are using skype . Just change the connection port no and restart skype and try to start apache

Antonio Papa

You should search then you ask question because this question has been asked. You need to go to C:\xampp\apache\conf edit httpd.conf file and change

Listen 80

to

Listen 8081 or another number then you restart apache.

other links Configure apache to listen on port other than 80

Edit the httpd file

#Listen 12.34.56.78:80
Listen 80

to something like this

#Listen 12.34.56.78:80
Listen 8080

Just make sure you use any port other than 80.

Check if any instances of mysqld.exe is running from task manager. If so kill it and start it from xampp control panel.

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