How to change XAMPP apache server port?

前端 未结 6 2066
慢半拍i
慢半拍i 2020-11-22 06:21

This is my Apache httpd.conf settings :

Listen 8012
ServerName localhost:8012

Every time I start Apache via XAMPP I see this m

6条回答
  •  猫巷女王i
    2020-11-22 06:30

    If the XAMPP server is running for the moment, stop XAMPP server.

    Follow these steps to change the port number.

    Open the file in following location.

    [XAMPP Installation Folder]/apache/conf/httpd.conf
    

    Open the httpd.conf file and search for the String:

    Listen 80

    This is the port number used by XAMMP.

    Then search for the string ServerName and update the Port Number which you entered earlier for Listen

    Now save and re-start XAMPP server.

提交回复
热议问题