![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络
海鸟鱼与海
这个作者很懒,什么都没留下…
展开
-
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中断相应程序或更换代码中书原创 2020-06-14 12:33:25 · 48928 阅读 · 1 评论 -
GOland 网络——使用net.Dial创建端口,出现connectex: A connection attempt failed because the connected party did n
GOland 网络——使用net.Dial创建端口,出现connectex: A connection attempt failed because the connected party did not properly respond after a period of time端口(address)若是小于1024,则需要修改端口。端口可能被占用若端口,大于1024,则是windows设置的问题,在更新与安全——>开发者选项,打开开发者模式,设备门户后,在下面有wlan的使用端口与IP,将此原创 2020-06-02 09:34:13 · 14636 阅读 · 0 评论