Solve the problem that Aliyun Shield occupies port 80

1. Check the port

Enter the following command to check all ports on the server

netstat -anput | grep 80

Well, very good, I saw that the occupied port 80 appeared in the first row, hereby take a screenshot as proof, lest the so-called "big factory" not recognize it:

If you take a closer look, it is not a local process. Anyway, it is an outrageous thing for a cloud server provider to say that it occupies port 80.

Enter the following command:

lsof -i :80

Well, the name appeared, "AliYunDun", as shown in the picture below:

 

Two, solve the problem

The kill command cannot solve it, only fuser can be used, enter the following command:

sudo fuser -k 80/tcp

Well, then just start your own application or service directly.

Acho que você gosta

Origin blog.csdn.net/freezingxu/article/details/130116305
Recomendado
Clasificación