Docker Error bind: address already in use

后端 未结 20 1406
情深已故
情深已故 2020-11-28 03:28

When I run docker-compose up in my Docker project it failes with the following message:

Error starting userland proxy: listen tcp 0.0.0.0:3000:          


        
20条回答
  •  醉梦人生
    2020-11-28 03:57

    I was getting the below error when i was trying to launch a new conatier- listen tcp 0.0.0.0:8080: bind: address already in use.

    Solution: netstat -tulnp | grep 8080

    [root@ip-112-x6x-2x-xxx.xxxxx.compute.internal (aws_main) ~]# netstat -tulnp | grep 8080 tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 12749/java [root@ip-112-x6x-2x-xxx.xxxxx.compute.internal (aws_main) ~]#

    kill -9 12749

    Then try to relaunch the container it should work

提交回复
热议问题