0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Address already in use - bind(2) for "127.0.0.1" port 3000

Posted at

##エラー

Address already in use - bind(2) for "127.0.0.1" port 3000

##原因
ポートが重複していた

##解決
プロセスの確認

ps ax | grep rails
  800 ?        SNsl   0:09 /usr/local/rbenv/versions/2.5.3/bin/ruby bin/rails s -e production -b localhost -p 3000
31974 pts/0    S+     0:00 grep --color=auto rails

プロセス指定して、kill

kill 800
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?