Technology Bites

  • Home
  • Tech
    • Software
    • Browsers
    • Google
    • Internet
    • Windows
  • Mobile
    • Android
    • Apple
    • Windows Phone
  • Products
    • Phones
    • Tablets
  • TIP US
You are here: Home / Windows / Windows 8: Port 80 in use by System, Apache error

Windows 8: Port 80 in use by System, Apache error

After upgrading to the Windows 8, I am not able to run Apache with XAMPP server. The culprit is that Windows 8 is using Port 80, if you look at the TCP connections you will realize that NT Kernel & System process is listening to Port 80.

Obviously you can’t stop System process unless you know what that process is. One work around to run Apache in XAMPP server is by specifying an alternate port in Apache config.

How to change the port in Apache Config

To change the Apache config in XAMPP follow the below steps.

Open C:\xampp\apache\conf, find the httpd.conf file and open with notepad (do not use Word for opening this file). Look for these lines and change 80 in the last line any other port, for example 8080.

[shell]#Listen 0.0.0.0:80
#Listen [::]:80
Listen 80[/shell]

Xampp Control Panel

This way we will be able to run Apache but the http://localhost/url won’t work for that you need to append port number into the URL. For example if you specify Port 8080 in Apache config, you have to specify the URL like this, http://localhost:8080/url.

Another method is to find the service that is using port 80 in Windows 8 and stop the service.

In Windows 8 “World Wide Publishing Service is using this port and stopping this service will free the port 80 and you can connect Apache using this port. To stop the service go to the “Task manager –> Services tab”, right click the “World Wide Publishing Service” and stop.

Port 80 is in use by System in Windows 8

To see which process is using port 80, follow these notes

Win+Run and enter “cmd” with out quotes and press enter. In the command prompt enter

[shell]netstat –aon[/shell]

Now see the what service is using port 80 and note down the PID and search for the service.

Widnows Command Line for Ports

Share this:

  • Tweet

Related

About Ram

I am a blogger and Technology Enthusiast. I write about software, tech news, gadgets. You can reach me at ram@teknobites.com, follow me on Google+ or on Twitter

« Rock Player 2 – The 2nd Generation of Rock Player is here!
SMS Enhancer – Pop Up SMS Notifications on Android with Additional Settings »

Comments

  1. Adriano G. V. Esposito says

    > netstat -aon | find “LISTENING”

    It is better 🙂

Top Posts

  • Contact
  • Clipperz: secure online password manager
  • SkyDrive Updated with Support for ODF, 300MB Browser Uploads and Short URLs
  • aeGis - Locate or Control Your Android Device Using SMS
  • Boat Browser - A New Android Browser with Themes and Add-Ons Support
  • You can now play Instant Games like Pac-Man on Facebook Messenger
  • Instagram adds better controls for comments, privacy
  • Disclaimer & Privacy Policy
  • Facebook Introduces Stealth Mode, Friend Lists in Chat
  • MSN launches new home page

About Us · Archive · Disclaimer & Privacy Policy · TIP US · Copyright © 2025 · Technology Bites

 

Loading Comments...