Solve the Error listen EADDRINUSE problem


love421 personal blog: https://www.makedreamsir.xyz


Problem description:hexo s The following error is reported during operation :
e3Huse.png

Problem analysis: The problem of port occupation means that this port number is occupied by other tasks in the background of our server, so we only need to find this background service, turn off this process and run it.

Specific operation:

1. Run to ps -aux|grep hexo| grep -v grepview background progress
e3bpfP.png

2. Run the kill -9process number to kill the background process
e3bekn.png

3. Run again to ps -aux|grep hexo| grep -v grepsee if the process is killed, you can see that there is nothing in our background
e3b3m4.png

4. Finally, run again hexo sto
e3btt1.png

Guess you like

Origin blog.csdn.net/qq_37449342/article/details/97652270