markdown 节点/快速:EADDRINUSE,地址已在使用 - 杀死服务器

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 节点/快速:EADDRINUSE,地址已在使用 - 杀死服务器相关的知识,希望对你有一定的参考价值。

如果得到錯誤指令如下

`Error: listen EADDRINUSE: address already in use :::5000`

解決方法:

First, you would want to know which process is using `port 5000`
```
$ lsof -i :5000
```
this will list all PID listening on this port, once you have the PID you can terminate it with the following
```
$ kill -9 {PID}
```

以上是关于markdown 节点/快速:EADDRINUSE,地址已在使用 - 杀死服务器的主要内容,如果未能解决你的问题,请参考以下文章