`whoport` – which agent is using localhost:3000?
clairenord.com
`whoport` – which agent is using localhost:3000?
1–5 of 5 posts
Re: `whoport` – which agent is using localhost:3000?
#2Wrote a script with `lsof` + `ps` to see which agents are using which ports. Might be interesting to throw in your dotfiles!
Re: `whoport` – which agent is using localhost:3000?
#3netstat and/or lsof will normally take care of that, but sure, everyone makes their own tools these days!
Re: `whoport` – which agent is using localhost:3000?
#4netstat and/or lsof will normally take care of that, but sure, everyone makes their own tools these days!
what's the go-to command from your shell history to do that with netstat? :)
Re: `whoport` – which agent is using localhost:3000?
#5netstat and/or lsof will normally take care of that, but sure, everyone makes their own tools these days!
what's the go-to command from your shell history to do that with netstat? :)
On Linux, that would be netstat -lpn (from my memory, not from the shell history) :) On Mac, netstat won't show the pids, so it would be lsof.