News for hackers. Stuff that matters.
Re:`whoport` – which agent is using localhost:3000? by ventana on Wednesday August 12, 2026 @02:22PM (#49276603)
netstat 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? by cnord on Wednesday August 12, 2026 @02:43PM (#49276827)
what's the go-to command from your shell history to do that with netstat? :)
Re:`whoport` – which agent is using localhost:3000? by ventana on Wednesday August 12, 2026 @03:10PM (#49277197)
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.
Re:`whoport` – which agent is using localhost:3000? by cnord on Wednesday August 12, 2026 @02:11PM (#49276466)
Wrote a script with `lsof` + `ps` to see which agents are using which ports. Might be interesting to throw in your dotfiles!