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.

#Listen 0.0.0.0:80
#Listen [::]:80
Listen 80

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.

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

netstat –aon

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

Share this:

Related

  • Installing Apache webserver on Ubuntu VPS
  • May 18, 2012
  • In "Software"
  • Samsung announces Galaxy Ace Duos GSM+GSM version
  • May 25, 2012
  • In "Gadgets"
  • How to upgrade PHP version from WHM
  • May 6, 2007
  • In "Software"

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

  • Attach Large Files to Yahoo Mail with Drop.io App
  • Yahoo new home pages and how to get back to the old home page
  • Download 10000 Free Shapes for Photoshop
  • How to Download Google Chrome on Win 2K
  • Latest Sony Xperia Apps for ALL Android Devices
  • UCinema - Stream/Download ALL TV Shows and Movies for Free
  • BugMeNot Firefox Add-On
  • 10 Best free Android apps for learning English
  • Alilg: Simple and Free Online Photo Editor
  • Google Trends RSS Feed

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

Copyright © 2021 · Teknobites Theme on Genesis Framework · WordPress · Log in