nowfound

Life & fun · July 27, 2026

Port Zero – How I learned to stop worrying and love PORT=0

Hi HN, 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. This got me thinking--why on earth are we still using simple numbers to describe which process to connect to? Why not use names instead? I thought of all the times a program wouldn't start because of port conflicts. The more I thought about it, the crazier it seemed. Modern operating systems already offer no-conflict ports: if you make your TCP server listen on port 0, the OS assigns you a random available port. But that only solves…

Port Zero – How I learned to stop worrying and love PORT=0 launched on July 27, 2026 with 19 votes, #902 of 24,623 launches that month and more than 90% of that year's launches.

Visit portzero.net ↗Alternativestop 4% of July 2026

In plain words

Port Zero is a development tool that automatically manages network port assignments to eliminate port conflicts. It watches for processes and Docker containers with a special environment variable and assigns them named local addresses instead of manual port numbers, allowing developers to reference services by name rather than tracking which random ports are in use. This is designed for developers working with multiple local services who want to simplify their development environment setup.

written from the facts on this page · September 2026

From the sources

Port Zero eliminates port conflicts in local development by routing random OS-assigned ports through stable virtual domains. Free and open source locally; tunnels for LAN and the internet.

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. $ PZ_TUNNEL="web.myapp-feat-checkout-redesign.portzero.local" node app.ts $ PZ_TUNNEL="web.myapp-feat-dark-mode.portzero.local" node app.ts web.myapp-feat-checkout-redesign.portzero.local git worktree feat/checkout-redesign Hello from the PortZero Node.js TypeScript process example. PZ_TUNNEL=nodejs-typescript-process.portzero.local:80 localhost_port=52431 web.myapp-feat-dark-mode.portzero.local git worktree feat/dark-mode Hello from the PortZero Node.js TypeScript process example. PZ_TUNNEL=nodejs-typescript-process.portzero.local:80…from portzero.net

In the maker’s words, at launch

Hi HN, 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. This got me thinking--why on earth are we still using simple numbers to describe which process to connect to? Why not use names instead? I thought of all the…

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, July 2026

the whole month →
  • IR

    I might be the only SRE on Earth with his own bowling center. It's a more in-depth gig than you'd think. My family and I bought an abandoned 8-lane bowling center in the rural mid-west. In our small town there weren't many recreation options for families. You've heard of a food desert? This is an R&R desert. It had been abandoned for a good reason. The roof leaks, the electrical system was constantly surging, and my 70-year-old bowling equipment (still) doesn't work perfectly. The system that keeps your score is particularly interesting to me. It's the thing you watch during your game, but…

    Life & fun · Jul 2026

  • Elevators▲1,680

    How elevators push your buttons

    Life & fun · Jul 2026 · john.fun

  • 18 Words▲1,160

    Play 18 Words, the free daily word puzzle. The official home is 18words.com. Tap Play now to open today

    Life & fun · Jul 2026 · 18words.com

  • BA

    Over the past few months, our team has been building more and more slidedecks using web frontend technologies with coding harnesses like Claude Code, but a common complaint is to make even small edits we need to edit the code either manually or via the harness. To avoid this loop, I ended up creating Bento, a single HTML file with everything you need in a slide tool including animations and shared editing. There's no install or cloud login, everything works offline. The default deck is around 560 KB and it doesn't need to fetch anything once you got it. Open it in a browser and then you can…

    Dev tools · Jul 2026 · bento.page

  • A few days ago I found myself trying out GLM 5.2 and was really positively impressed. The capabilities and security I was getting from this LLM are similar to those I've gotten from models like Claude or GPT, and this really surprised me. But then I thought, "I wonder how it would work on a normal computer like mine," and above all, "I wonder if it would work without going into OOM on a computer like mine." So I started working with the help of agents to test this possibility. I started converting the model to int4, understanding MTP usage, and if possible implementing DSA for long context.…

    AI · Jul 2026 · github.com

  • OpenSEO▲928

    Hello! For the last 2 months, I've been building OpenSEO. It's a user friendly UI wrapping the DataForSEO API which has high quality SEO data for keywords, backlinks, AI SEO and competitor research. Instead of paying $100+ per month, you buy DataForSEO credits and pay only for usage. The coolest thing about the project so far has been hearing about what people are building on top of it. People are using coding agents to quickly integrate with Google Search Console, Google Ads and building their own AI SEO and reporting features. Many were already building their own custom solutions around…

    Dev tools · Jul 2026 · openseo.so