Ports are not available: listen tcp 0.0.0.0/50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions
This solution helped me:
net stop winnat
docker start container_name
net start winnat
I did this to stop tcp processes =>
- net stop winnat
- net start winnat
In this way, the busy port operation is terminated.
This worked for me.