使用命令
lsof -i:端口号
然后看到进程号,直接杀掉进程就好
kill -9 进程号
Error: Address already in use
原文:https://www.cnblogs.com/niuben/p/13297278.html