golang ——An existing connection was forcibly closed by the remote host.
在进行网络连接时,出现An existing connection was forcibly closed by the remote host.,客户端的(或非服务器端的文件的错误),在请求连接处出现问题:1.查看协议是否相同查看服务器端连接的协议与客户端是否相同(同为tcp或其他)2.使用的端口是否被占用在win+R,输入cmd后输入netstat -aon|findstr “8888” 其中8888为所需要查询的端口号,然后再对照着查找任务管理器的PID中断相应程序或更换代码中书