Skip to content

Instantly share code, notes, and snippets.

@omelsoft
Created May 2, 2020 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omelsoft/15764f3d674d6f7d6f91d24ec1e96527 to your computer and use it in GitHub Desktop.
Save omelsoft/15764f3d674d6f7d6f91d24ec1e96527 to your computer and use it in GitHub Desktop.
Free up "system pid 4 port 80" on windows
I have XAMPP installed locally but I couldn't let apache run on the default port 80. Although, there's a way we can change the port to something like 8080 or 81. But I want my Apache server to run on port 80.
The System Process has PID of 4 which means you need to disable the HTTP.sys driver which is started on demand by another service, such as Windows Remote Management or Print Spooler on Windows 7 or 2008.
To do this, you need to run the following in the command prompt with an elevated Administrator priveleges.
netsh http add iplisten ipaddress=0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment