13
2025
03
21:50:53

Windows Docker 端口占用错误解决

问题

docker启动时报错:Error invoking remote method ‘docker-start-container’: Error: (HTTP code 500) server error – Ports are not available: exposing port TCP 0.0.0.0:xxxx -> 0.0.0.0:0: listen tcp 0.0.0.0:xxxx: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

解决办法

可以尝试重启Windows的NAT网络(应该管理员启动命令窗口,否则会出现拒绝访问)

停止和重启NET网络:

net stop winnat
net start winnat




推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:https://sg.hqyman.cn/post/9598.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

请先 登录 再评论,若不是会员请先 注册

您的IP地址是: