Retire localhost:3000 with Portless from Vercel
A LinkedIn post by Alexandre Zajac.
I’m excited to announce that you can officially retire
localhost:3000. Simply by using Portless from Vercel.It’s pure magic; your app gets a name instead of a port.
portless your-app next dev → http://your-app.localhost
What comes for free with it:
- No more memorizing ports
- Makes git worktree parallel dev easier
- Friendly hostnames per app instead of
localhost:xxxx
Discussion
- Animesh Agarwal: Under the hood it feels similar to Traefik / Nginx / Caddy — routing friendly hostnames to local services. The difference is zero-config setup, automatic TLS, and a developer-friendly workflow.
- Saul Slavin: “Couldn’t you just modify the hosts file to name various localhost ports?”
- Leonardo Freire: Asked what the major benefits are over ngrok.
- Daniel Ebert: Interesting side effect — app names create a stable language for debugging; teams reference environments by intent instead of transient ports.