Ben Hong @bencodezen.io · Sep 8

I got tired of looking up the syntax for checking what processes are running on the 3000 port, so I created an alias for it:

111 likes 4 replies

?

Replies

Anthony Panozzo · Sep 8

Handy! I have something that kills whatever is running on the port if I run rs (rails server) but seems some node web frameworks also use that port.

Steve Adams · Sep 8

I know terminals are best but I also find this handy sometimes (Port Manager: portmanager.app) It can be managed via Raycast as well, which is how I do a heap of stuff on my mac these days Also, why the hell do I have SharePoint occupying a port?

Ben Hong · Sep 8

For those who want to just copy and paste: ``` alias wtf3000="lsof -i tcp:3000" ```

liminal thoughts · Sep 8

This is useful. Made me create a general fn: