When XAMPP was used yesterday, an error was reported during startup, saying that port 443 was occupied. I looked at the application for half a day and thought it was strange that the program would use port 443? Using the Process Manager to kill, and the result is ineffective. I wanted to start over and think about it again, so I didn't solve the fundamental problem. So I googled and found a solution.
Start, Run, cmd
Run
Netstat-Ano
Description
A: display all connected and listening ports.
N: the IP address and port are displayed as IP addresses.
O: displays the ID of the process to be disconnected.
Use this method to find the process ID that occupies the port
Press Ctrl + Shift + ESC to open the windows Task Manager and switch to the process (processes). If there is no PID, click the column of the process ID to view the following select comumns... Select the PID (process identifier). After confirmation, sort by PID and find the correspondingNetstatThe application corresponding to the PID found by the command.
I found out that it was actually QQ. After killing it, the problem was solved. I don't know why port 443 is used for this ghost thing.
We have also found that Skype uses port 80 before. If you don't need Apache or other software, it would be really troublesome. The solution is Skype tools/OPTIONS... /Connection
Remove use port 80 and 443 as alternatives for incoming connections
Check,LinuxSystem,NetstatThe usage is basically the same. You only need to replace o with P. In addition, you must use the root account for query. Windows should also have the Administrator permission, but only the account-based administrator permission.
-P, -- Programs Display PID/program name for sockets [root @ call root] # netstat-ANP
Check whether kill or killall depends on you.