I am having troubles running apache because of a port 80 problem. I have XP.

Dani AI

Generated

As reported, Apache failed because port 80 was already bound and 's GUI tip solved it. The short checklist below gives reliable, repeatable ways to identify the offending process on Windows XP and safe options to resolve the conflict.

From an elevated Command Prompt, find the PID listening on port 80:

netstat -ano | findstr :80

A typical line looks like TCP 0.0.0.0:80 ... LISTENING 1234 — the last number is the PID. Map that PID to a process name:

tasklist /fi "PID eq 1234"

If preferred, enable the PID column in Task Manager. netstat -b -ano (requires admin) will attempt to show the executable that owns the port. GUI alternatives to the program mentioned include Sysinternals TCPView or NirSoft CurrPorts.

Common culprits on XP: IIS (World Wide Web Publishing Service / Internet Information Services) and older Skype builds that can grab ports 80/443. To resolve: stop or disable the service in services.msc (or remove IIS via Add/Remove Windows Components), change the offending application's connection settings (Skype has an option to stop using ports 80/443), or uninstall the app if it is not needed.

If stopping the other process is not acceptable, change Apache to a different port. Edit httpd.conf and change the Listen line:

Listen 8080

Restart Apache and use to test. Remember to update any VirtualHost entries, firewall rules, and router port-forwarding if remote access is required. Verify the PID before killing services — stopping system services can affect other functionality. This complements 's GUI suggestion by showing CLI diagnostics and safe remediation steps for future readers.

Recommended Answers

All 4 Replies

The apache web server (httpd server) runs on port 80 by default. Does your ISP block this port? What, exactly, is the specific problem you're having?

basicly it is saying that something is already using it. how do I find out what it is and disable it or redirect the other item? Thank you

basicly it is saying that something is already using it. how do I find out what it is and disable it or redirect the other item? Thank you

You can download a program known as 'active ports' which will show you what is using port 80.

Thank you for your help that fixed my problem right up. Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.