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?

Port 3000 is in use, using available port 3001 instead

0
Posted at

はじめに

ある日突然、npm run dev でサーバ起動した場合に以下エラーがありましたのでその解消方法を載せておきます。

Port 3000 is in use, using available port 3001 instead

🪄 解消法

ポート3000を強制終了しましょう!

手順1:まずはPORT 3000を利用しているプロセスを確認します。

lsof -i:3000

手順2:手順1で表示される PID の番号を指定し、kill することで強制終了

kill -9 9835

👉 エディタを再起動してポート3000が解放されているか確認してみてください。

💫 参考文献

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?