> The real annoyance is that it wasn’t just one machine. It was layers.
I Got Sick of Remembering Port Numbers
41–50 of 171 posts
Re: I Got Sick of Remembering Port Numbers
#42Re: I Got Sick of Remembering Port Numbers
#43Re: I Got Sick of Remembering Port Numbers
#44There is no need to come up with "local TLDs" like .vibe, .local, .test and so on -- there is already an industry convention! macOS and most Linux distros support subdomains of localhost, so .localhost works. You still need the reverse proxy to do the host->port mapping, but you save yourself local DNS fiddling.
That would work if your goal was to route traffic to localhost.
What if it isn't?
There are reasons why the likes of example.com exists.
Re: I Got Sick of Remembering Port Numbers
#45It's like someone should make a file... maybe in /etc ... and put short names for services in it... maybe it could be called /etc/services...
People shit-talk container orchestration systems like Kubernetes, but if anything they greatly simplified (if not completely eliminated) the need for this sort of network bookkeeping.
Re: I Got Sick of Remembering Port Numbers
#46Earlier quoted context omitted.
And then they might code up some sort of service lookup tool thingy to use on the train wreck that is the modern web. $ getent services gopher gopher 70/tcp
this is a nice idea, but idk why, in macos if i do `nc -l 127.0.0.1 gopher` and then try to open url " http://127.0.0.1:gopher/ " - safari does not open it, no requests visible in the `nc` output. also `curl -v http://127.0.0.1:gopher/ ` gives error message * URL rejected: Port number was not a decimal number between 0 and 65535 * Closing connection curl: (3) URL rejected: Port number was not a decimal number between…
nc is for generic connections and handles it well.
Re: I Got Sick of Remembering Port Numbers
#47I wonder why not use nginx and some local DNS settings to just serve all these local services under a new, local URL. Not too long ago I had a similar issue and solved with that.
Re: I Got Sick of Remembering Port Numbers
#48Re: I Got Sick of Remembering Port Numbers
#49Re: I Got Sick of Remembering Port Numbers
#50Why not resolve everything with UNIX sockets instead, that way you can have them named and scoped instead, hiding behind port 443, since it's mosly HTTP anyway.
Does this work in the browser? How will paths to different resources used by the web app work?