XAMPP server using multiple ports instead of port 80

The XAMPP server should work on port: 80 by default, but here, in our case, the XAMPP server runs on several ports, shown in the interval below. Why is this happening and how to prevent it?

Running XAMPP ON Multiple Ports

TaskMgr also shows two running apache services:

Task manager

The XAMPP httpd.conf file is here:

httpd.conf file

After starting the XAMPP server in 2 or 3 hours, the server became slow and did not respond when I think that the problem will be caused by several open ports? Any ideas? How to block and allow only port 80, since it is already by default?

+5
source share
1 answer

mainly due to internal connections between apache and another service on the server. for example, this may be due to connecting to 3306 (mysql) to find out that you can use the netstat button to the right of the xampp panel or enter this command on the command line (DOS)

netstat -na 

For example: if you saw a lot: 3306, it means that you did not close the mysql connection!

0
source

Source: https://habr.com/ru/post/1208862/


All Articles