←back to thread

.localhost Domains

(inclouds.space)
301 points todsacerdoti | 1 comments | | HN request time: 0.237s | source
Show context
vlod ◴[] No.43644531[source]
Anyone care to shed why myapp.localhost:3000 (for the webapp I'm developing) is something that's useful for me rather than localhost:3000 ?

EDIT: on linux and don't use launchd, so I'd still the port number

replies(8): >>43644573 #>>43644584 #>>43644588 #>>43644599 #>>43644601 #>>43644606 #>>43644652 #>>43645096 #
1. csciutto ◴[] No.43644601[source]
The comparison is `myapp.localhost` vs `localhost:3000`. This is especially useful when you have web servers permanently running on your computer on ports, not just for momentaneous local development.