×

Windows Docker 端口占用错误解决

hqy hqy 发表于2025-03-13 21:50:53 浏览222 评论0

抢沙发发表评论

问题

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://www.jinbel.cn/post/9598.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏

群贤毕至

访客

您的IP地址是: