Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently installed XAMPP on my laptop. It installed correctly but the Apache web server won't start - it's a problem with port 80.

It's not caused by Skype, because I don't have it installed. I went through the process of looking for the process ID etc and found it was a system process; when I stopped it the computer crashed.

How do I get the Apache server to work on port 80?

share|improve this question

migrated from May 17 '11 at 2:16

This question came from our site for system and network administrators.

I've been mucking about with XAMPP for a couple months now. I find it very buggy and unpredictable. Apparently the group who was developing it had some issues, people left, a new guy took over, and subsequently released a buggy version (the latest). I've had issues primarily with pathing, specifically, and must run XAMPP-Config every time I want to use it. Bad times. I've been using WAMP at work, at it seems to be quite a bit more stable. Might be worth a try. – Bosworth99 May 16 '11 at 23:40
You have to stop the system process from using port 80 first. IIS? – Turbo J May 17 '11 at 2:42

Thanks guys - it was IIS that was running on port 80. I hadn't even installed it so I assume it came with Windows.

I typed in IIS in the search bar, opened it, then stopped everything and now it's working fine. I think it would have been easier if the process could have been called IIS or something similar as opposed to System which is no help at all. Anyway thanks for solving the problem.

share|improve this answer
You can also remove IIS from the system with Add/Remove Features. And also I would personally recommend Uniform Server, probably the best portable web server I have used. – Sandeep Bansal May 18 '11 at 20:34
Well everyone has their opinion on what is best, i am new to this web server stuff. So far i recieved about 3 different answers all stating the one they use is "best". I am only using this one as it was the first one someone recommended to me and now its working fine i dont intend to change it, "if it aint broke dont fix it". – harry May 19 '11 at 22:17
I guess so, but it is a package full of a lot of files that tend not to be used. I was like you where I used Xampp because it worked. But then trying out different Web Servers was a fun idea to see what I liked and Uniform Server really appealed to me since it was very lightweight. Anyway the best webserver is the one you configure on your own. Good luck with development! – Sandeep Bansal May 19 '11 at 22:25

There are two ways you can find out more information about the problem...

1) Cross-reference PID to process name.

Open the command line (run cmd.exe) and type in: netstat -aon

C:\Users\admin>netstat -aon

Active Connections

Proto  Local Address          Foreign Address        State           PID
TCP                 LISTENING       6200
TCP                LISTENING       892
TCP                LISTENING       6200
TCP                LISTENING       4
TCP               LISTENING       4
TCP              LISTENING       564
TCP              LISTENING       1056
TCP              LISTENING       1108
TCP              LISTENING       620
TCP              LISTENING       608
TCP              LISTENING       1444
TCP              LISTENING       2200
TCP              LISTENING       4

Locate the first line with Local Address of or

Then use Task Manager (ctrl-alt-del) > Processes Tab (show all) to find out which Process has this PID.

2) Check the Apache's error log file or start Apache from the command line and check the error message:

httpd -k start

The IIS Service is called W3svc and you can stop it and also disable it (disables the automatic start-up) via Services window (run servers.msc).

You should also try using WampDeveloper Pro which has a much better setup process that detects and handles other software running on port 80.

share|improve this answer
If you add a -b to netstat, it'll show the executable associated with the connection, so netstat will directly tell you what application is holding open the port. There's no need for the second step of using Task Manager. – Chris Thompson Jan 1 '12 at 8:45

If you have TeamViewer installed then you must disable use of ports 80 & 443 in TeamViewer. This can be done by going to Extra->Options->Advanced->Advanced Network Settings.


share|improve this answer

please check your system if you have skype on your system then first close the skype as well as close the process of skype. steps to follow c:/>netstat - ano [it will display all the process] after than c:/>tasklist [it will show the task with process id] c:/>taskkill /PID 2480/F [Here 2480 is process id]

and also check if the iis server is running, if it is running the stop the iis server.

thanking you

share|improve this answer

Just simply Follow Those step.

  1. First deselect checkbox of skype :- tools->connection options-> deselect port 80 or 443 for connection.

  2. Change your port in apache httpd.config file => Listen 81 Instead Of Listen 81. And serverName Localhost 82 instead Of servaerName Localhost 80. Save this file and close.

  3. Change your apache httpd-ssl.config file Listen 82 instead of Listen. And “” instead of “”. And ServerName or ServerName localhost:81 instead of ServerName or ServerName localhost:433. Save this file and close.

  4. Final step :- Now click and open the “Config” button of your XAMPP Control Panel. Then click the, “Service and Port Settings” button. Within it, click the “Apache” tab and enter and save the new port nos in the “main port” as a 81 and “SSL port” as a 82 in boxes. Click save and close the config boxes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.