Haozhe Xie Haozhe Xie - 2 months ago 30
Apache Configuration Question

Port 443 in use by "Unable to open process" with PID 4

I have a very strange problem with my Apache 2.4 working with Xampp 1.8.2 on Windows Server 2008 R2.

When I tried to start Apache server in XAMPP, an error message is shown:

[Apache] Problem detected!
[Apache] Port 443 in use by "Unable to open process" with PID 4!
[Apache] Apache WILL NOT start without the configured ports free!
[Apache] You need to uninstall/disable/reconfigure the blocking application
[Apache] or reconfigure Apache and the Control Panel to listen on a different port


However, the process with PID 4 is system! I've tried to restart my computer and it doesn't work.

I have installed Apache 2.4 via a tar.gz file sereral days ago, and uninstalled it. So, I don't think this behavior will cause the problem.

And here's the result using commond netstat -a -n -o | findstr 443

C:\Users\Administrator>netstat -a -n -o | findstr 443
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 4
TCP [::]:443 [::]:0 LISTENING 4


Can you tell me what to do?

Answer

I had the same problem: port-443-in-use-by-unable-to-open-process-with-pid-4

First I disabled the weather tile in Win* that apparently phones home to Redmond for updates after this showed on netstat list.

This didn't solve the problem. I looked at the post already here which mentioned VPNs, so I went to Control Panel\Network and Internet\Network and Sharing Center and clicked on Change adapter settings

I clicked on Incoming Connections and right clicked on properties

The VPN click box at the bottom of the General tab was on, so I unchecked it

Under Users, I also unchecked a previous user I had allowed to copy some data weeks before

Then I clicked okay

Closed the control panel and restarted the XAMPP control panel

It fired right up without a problem.