在windows下进行测试时,有可能会出现端口占用的情况,可以用如下方法去查看哪个程序占用了该端口: netstat -ano|findstr xxxx(端口号) tasklist |findstr xxxx(端口号)