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
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