(HTTP code 500) server error - Ports are not available: exposing port TCP 0.0.0.0:8848 -> 0.0.0.0:0: listen tcp 0.0.0.0:8848: bind: An attempt was made to access a socket in a way forbidden by its access permissions
启动nacos容器时,报上述错误,应该是8848端口被占用了。
解决方案:管理员运行终端执行下列命令
net stop winnat
docker start container_name
net start winnat