Question: 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 server on my system. Here I getting some problem.After Installation When it check for port. It show me message port 80 or 443 aleardy in use apache server installation is failed. I Guess it is happening due to IIS installed in my system. I stopped the IIS and Installed it again But the same problem is coming again. I uninstall the Skype too for this but nothing is working for me. Please tell me why this is happening and what is the solution for this. I hope you understand what is my problem. Please help me for this

Answer: 
**Solution 1:**

Close the programs running on port 80, it may be one like **SKYPE**

For Command Line quit

In Windows

```
for /f "tokens=5" %a in ('netstat -aon ^| find ":80" ^| find "LISTENING"') do taskkill /f /pid %a

```

In linux just use

```
sudo fuser -k 80/tcp

```

Install wamp(win), lamp(linux) or mamp(mac).. Installation would not be failed even your ports are in use.

**Solution 2:**

After installation launch the program. left click the wamp icon in taskbar tray it will show a menu 

=> go to apache => go to httpd.config click it to open..

Find(Ctrl+F) `listen:80` and replace it with `listen port_number` like `listen:88` or `listen:96` etc.

again click on wamp icon.. click restart all services.

Your apache would be fine
just go to apache directory and search to find 'httpd-ssl.conf' and open it then search to find 443, you find 3, edit all of them to another number, i edit to 886. then save file and try to run apache.