logoalt Hacker News

tolcihotoday at 3:43 AM3 repliesview on HN

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

Replies

lloekitoday at 8:10 AM

And if they want name resolution, maybe even names that reflect the scope of its location like .localhost or .internal

otabdeveloper4today at 4:39 AM

Heck, maybe even `resolvectl service`?

pratyahavatoday at 5:13 AM

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 0 and 65535
so the ports are named, it is nice, but in practice it does not make life easier.
show 2 replies