0
user-people-family-house-home

【Docker】docker啟動容器,端口被佔用:An attempt was made to access a socket in a way forbidden by its access permissions

想要打開之前使用過的一個容器,卻出現以下錯誤提示Error invoking remote method 'docker...

Posted by Roy on 2022-12-19 18:42:17 Views

想要打開之前使用過的一個容器,卻出現以下錯誤提示

Error invoking remote method 'docker-start-container': Error: (HTTP code 500) server error - Ports are not available: listen tcp 0.0.0.0:8443: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

大部分的解決方案都是docker restart {container}

確實重新啟動成功但服務都是不能使用的狀態

查詢了資料 ,解決需要先關閉Windows NAT服務

net stop winnat

docker start container_name

net start winnat

View Comments