在Linux上,可以使用lsof命令查看端口被哪个程序占用,lsof -i :端口号。在Windows上,可以使用netstat命令查看端口被哪个程序占用,netstat -ano | findstr "端口号"。 Linux服务器上查看端...