no connection could be made because the target machine actively refused it.问题解决

第一步:查看端口占用情况netstat -ano

第二步:关闭两台电脑的360,防火墙

第三歩:查看端口。若为两台电脑之间通信。则应使用服务器这台电脑的ip进行连接。利用ipconfig查看本机ip(Ipv4地址)

因为127.0.0.1只适用于本机电脑测试(且两台电脑必须在同一局域网内)

参考自:https://stackoverflow.com/questions/41404464/no-connection-could-be-made-because-the-target-machine-actively-refused-it-tcp0

猜你喜欢

转载自blog.csdn.net/weixin_38383877/article/details/82390832
今日推荐