LoginSignup
0
1

More than 5 years have passed since last update.

Error starting userland proxy: Bind for 0.0.0.0:XXXX failed: port is already allocated

Posted at

Bind for 0.0.0.0:8000 failed: port is already allocated

自分の場合上記のエラーが出た。
コンテナは全てストップしているが、ポートが占有されてゾンビ化しているらしい。
Dockerを再起動しても治らないらしい。

PIDを調べる
$ sudo lsof -i:8000

COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
node    72234    muu   13u  IPv6 0x6d0e948670f199df      0t0  TCP *:irdmi (LISTEN)

PIDをKillして解決
$ kill -9 72234

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1