docker-compose启动报错原因,当启动的服务端口号被占用后的错误

当启动的服务端口号被占用后的错误,报错信息:

ERROR: for sc-gateway-web  Cannot start service gateway-web: failed to create endpoint sc-gateway-web on network docker-compose_sc-net: failed during hnsCallRawResponse: hnsCall failed in Win32: The process cannot access the file because it is being used by another process. (0x20)

我是win 10环境,查找端口占用的应用程序方法如下:

netstat -ano|findstr "8443"

tasklist|findstr "1204"

找到应用程序,关闭后,就能正常启动了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章