LoginSignup
0
1

More than 5 years have passed since last update.

mac terminal のポート開放

Last updated at Posted at 2018-06-24

webpack-dev-serverとかRailsのサーバーとか、pythonサーバーとか、OSC(SuperCollider, MaxMsp, openframeworks...)だとか、諸々のサーバー立ててる時に、終了時にバグると、プロセスが適切に殺されないまま残ってしまい、次に建てる時にうまく立たないことがよくある。
そんな時に

sudo lsof -i:[ポート番号]でそのポート番号を使用しているプロセスが出てくるので、killコマンドで殺す

以上。

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