151 字
1 分钟
以一种访问权限不允许的方式做了一个访问套接字的尝试
昨天还运行的挺好的一个python文件,今天就出这个错误了。
dashboard.run_server(debug=True, host='0.0.0.0', port=8050)什么都没变。莫名的问题。
用netstat -an |findstr 8050也没找到哪个进程在使用这个端口 后来找到这个文档:https://github.com/localsend/localsend/discussions/935
我这边运行netsh interface ipv4 show excludedportrange protocol=tcp的结果如下:
Protocol tcp Port Exclusion Ranges
Start Port End Port---------- -------- 1203 1302 1697 1796 3711 3810 3811 3910 4111 4210 4295 4394 5357 5357 7994 8093 8099 8198 14867 14966 28385 28385 28390 28390 50000 50059 *
* - Administered port exclusions.8050在7994到8093之间,换了个端口8094,好了。
可是这个是为什么呢?不懂了。
以一种访问权限不允许的方式做了一个访问套接字的尝试
https://dididudu998.github.io/posts/以一种访问权限不允许的方式做了一个访问套接字的尝试/