Port Zero - Stable local domains to eliminate port conflicts
Show HN: Port Zero – how I learned to stop worrying and love PORT=0

Port Zero revolutionizes developer networking by assigning stable *.portzero.local domains to every local process, completely eliminating port conflicts and EADDRINUSE errors. By simply setting your port to 0, you can run unlimited git worktrees and AI agents simultaneously without juggling port numbers. The tool seamlessly extends local apps to mobile devices via secure HTTPS cloud tunnels and offers a flat-rate pricing model for team collaboration, feedback, and public demos. Free and open source for local use, Port Zero streamlines the entire development workflow from local testing to sharing live builds.
Set every port to 0 and start your dev server. Port Zero gives each process or container a stable domain — no port to remember, no EADDRINUSE, ever.
- snowe2010
Wild to vibe code something in a week then charge $50/month for it. I understand servers cost money but lol there’s no way the costs are that high. Also insane the amount of code generated here.
- dasyatidprime
For those interested in the history of alternatives to port numbers: Chaosnet[1] in LispM/ITS times used names for describing which service was being requested. On the TCP side, a spec for requesting services by name has existed since 1988: TCPMUX[2], using a short initial handshake after connecting to port 1. Just never caught on AFAIK.
- wannabe44
> Recently I wasted several hours wrangling my dev environment only to find out that the browser frontend was talking to the wrong version of the backend.
I have never faced this problem even though I hard-code the port. It's because I run the server program through VS Code's debugger. If there's already a session, it would warn me.