Search code examples
apachexamppport

XAMPP apache ports keep changing


My apache ports keep changing on netstat of XAMPP control panel like this image shows.

Note: my localhost works fine, and httpd.exe is using 80, 443. port changes per second.


Solution

  • Don't worry. From my understanding this is normal.

    I once found a post discussing it here: https://community.apachefriends.org/f/viewtopic.php?p=197896&sid=df3bb64d241e7e17c754fa1982a0fc4c

    The main quote that put my mind at rest was:

    Apache listens for and accepts requests on ports 80 and 443 but it does not service requests on those ports. When you or others connect to your servers, they will be handled by other connections usually using high ports. The control panel just looks for all ports associated with a module. It is just picking up those client ports and the box to show all the ports is just not big enough to show them all.