News for hackers. Stuff that matters.
Re:Show HN: Sonar – A tiny CLI to see and kill whatever's ru... by embedding-shape on Saturday March 21, 2026 @06:50AM (#47465894)
Well, or just use port 0 like we've done for decades, read what port got used, then use that. No more port collisions ever. I thought most people were already aware of that by now, but judging from that project even existing, seems I was wrong.
Re:Show HN: Sonar – A tiny CLI to see and kill whatever's ru... by hackerthemonkey on Sunday March 22, 2026 @11:57AM (#47478837)
That’s a little different, right? Using port 0 would imply that clients have not hard coded what port they should connect to and also we don’t mind having duplicate processes occupying other ports which are no longer on active use