Apache server Installation failed(Port 80 or 443 already in use)

前端 未结 7 1371
无人及你
无人及你 2021-02-10 02:13

I have a question related to PHP. I am .net developer. I usually work on asp.net and c#.I installed Visual Studio and SQL Server in my laptop.Now I am trying to Install Xampp se

7条回答
  •  时光取名叫无心
    2021-02-10 02:28

    There are many tools which would let you know which program is using port 80 or 443 already. But I prefer a simple command to do so. Open up a command prompt then type.

    netstat -a
    

    It will let you know which program is using port 80 and for an explanation of all options.

    netstat /?
    

    Second Part of the question to Change the Apache port. You have to change the settings in apache httpd.conf settings from:

    Listen 80
    ServerName localhost:80
    

    to

    Listen 8012
    ServerName localhost:8012
    

    Then try to run in web browser as http://localhost:8012

提交回复
热议问题