问题描述
Ncat: bind to :::7777: Address already in use. QUITTING.
具体解决方法
If you are in linux environment try,
- Use
netstat -tulpnto display the processes kill -9 <pid>This will terminate the process
If you are using windows,
- Use
netstat -a -o -nto check for the port usages - Use
taskkill /F /PID <pid>to kill that process



![[Python学习日记-78] 基于 TCP 的 socket 开发项目 —— 模拟 SSH 远程执行命令](https://i-blog.csdnimg.cn/direct/6940d206ea7e4756ac91166227a1f79c.png)















