Docker & Postgres: Failed to bind tcp 0.0.0.0:5432 address already in use

后端 未结 5 1099
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-30 22:38

Problem

I\'m trying to start postgres in a docker container on my Mac, but I keep getting the following error message

docker: Error response from da

5条回答
  •  醉酒成梦
    2021-01-30 22:44

    If lsof -i :5432 doesn't show you any output, you can use sudo ss -lptn 'sport = :5432' to see what process is bound to the port.

    Proceed further with kill

提交回复
热议问题