HNHacker News
TopNewBestAskShowJobs

hrncode

341 karma · joined February 21, 2026

submissionscomments
hrncode··on Show HN: Portname – named localhost URLs for every dev server
localhost only for now — portname works with *.localhost subdomains which browsers resolve automatically so no config needed.

for custom domains like myapp.company.com you'd need to manually add it to your hosts file (/etc/hosts on Mac/Linux, C:\Windows\System32\drivers\etc\hosts on Windows) pointing to 127.0.0.1.

custom domain support is something i'd like to add in future

hrncode··on Show HN: Portname – named localhost URLs for every dev server
glad it's useful! let me know if you run into any issues