Error invoking remote method 'docker-start-container': Error solution when starting Docker container under Windows

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

Solution

1. Execute net stop winnat in cmd with administrator privileges

 2. Start the Docker container

3. Execute net start winnat in cmd with administrator privileges

 

4. The container can be used normally

Guess you like

Origin blog.csdn.net/lian740930980/article/details/128580684