Stop “System” process using port 80 [How To]

Running XAMPP or WAMP as local web servers is extremely useful to test websites, but sometimes it gets pretty annoying when other processes use port 80 (i.e. skype) so that Apache can’t start.
Recently I had the process “System” using that port, and I couldn’t help stopping it! Finilally google gave me the right solution:

You can set the IIS service to “start manually”, you can uninstall IIS from your computer, or you can change the port settings for the Default Web Site and any other sites you have set up on your computer via IIS.

Launch the IIS Manager console (Win+R, C:WindowsSystem32inetsrviis.msc) and expand your server (it’s your computer name) in the Connections panel on the left. In the expanded tree, select “Sites”, which will list all the sites set up in IIS. Chances are you’ll just have one, named “Default Web Site”.

Select the website from the list in the main pane, then click “Bindings…” in the Actions panel on the right-hand side of the IIS Manager. This will bring up a dialog box showing which methods can be used to view the website and how. You’ll want to select the one with “80″ in the Port column, and then click Remove. Close the dialog, and the site will no longer be accessible via port 80.

 

IMPORTANT

To find out which service is using port 80 do the following:

From a command prompt: Start | Run (type) cmd (click Ok) or Start > All Programs > Accessories > Command Prompt

Type the following and press enter:
netstat -b -a

Comments

  1. Kru says:

    Thanks Dude!!!

  2. Shreyo says:

    i don’t have IIS or skype installed, still i see the system process using port 80. do you have any other suggestions on this? it’ll be appreciated…

  3. Pravin says:

    thanks :)

  4. Arif says:

    Like Shreyo .. i don’t have IIS or Skype installed in my PC , still System (with PID 4) is using port 80

  5. Arif says:

    Found it !!!

    I’ve just stopped “Web Deployment Agent Service” (MsDepSvc) … now its working :)

  6. Anon says:

    Service doesn’t exist on my pc.. I CAN FCKIN STOP THIS SHIT.. I CANT FIND IT ANYWHERE FCK

    • teocomi says:

      If it’s not that, have a look to which service is using that port:

      From a command prompt: Start | Run (type) cmd (click Ok)
      or Start > All Programs > Accessories > Command Prompt

      Type the following and press enter:
      netstat -b -a

  7. Jack says:

    Hello, I’m with the same problem. I run the command “netstat -b -a” and this messenger appears “Can not obtain property information”.

    Do you have any other suggestions?

  8. Jack says:

    Problem solved!
    This command saved my life:

    net stop was /y

    Link: http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/

  9. LocoChico says:

    Great! after searching and trying all the possible way to get apache working, finally find the last piece missing. Thanks to Arif! stopping the msdepsvc, is the last thing that i needed. first, i needed to stop IIS – this create conflict with localhost on port 80, second skype is blocking our way on port 80, and lastly MS Deployment Services(msdepsvc) also using port 80. many thanks to you. :)

  10. Mulyawan says:

    I got the same problem, I couldn’t start localhost through Xampp and it shows error 503. But I have solved it by stopping service that use port 80 on IIS. Follow this:
    1. Start
    2. Right Click on My Computer
    3. Click Manage
    4. Click Service and Application
    5. Click Internet Information Service (IIS) Manager
    6. On Block IIS, find HTTP Redirect and HTTP Respond Header, stop that service by right clicking.
    7. Try to start Apache through Xampp Control Panel again.

    Hope it help.

    Thank.

  11. Daniel Ramôa says:

    Thanks man!!!

  12. Johnny Bridges says:

    The problem here is that when windows 7 starts up, it automatically occupies port 80. XAMPP starts after windows does. Skype and other programs that use port 80 don’t use specifically that port. They can use a variarnt of that port such as 8001 or 8080. However, xampp is defined to clearly only use 80.

    “netstat -b -a” will show you all the processes on your computer that are occupying what ports. However, if the process shows sys that is determined by windows and you can not stop that process. There is a work around to this though. If you type the following in command prompt, it will stop port 80 from being occupied by windows and allow your xampp apache to start up like a dream. So here is the command you should input:

    “net stop http”

    This command will need to be entered each time your computer boots up, as long as windows is running it will not block the port, but when you shut the computer down or restart it, windows will again restart the service and block the port. I hope this helps someone out, it sure did for me.

  13. Hashem says:

    god bless you. you are a great man. finally I got it to work.

  14. paolo says:

    Thanks Johnny, this solved the problem for me. Thank you for taking the time to post this! Paolo (Italy)

  15. Shankar says:

    You and your beard really rock.. wasted lot of time before this,but your method saved me.It works!
    Thanks Dude!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>