| ▲ | Tepix 4 hours ago | |
As bandie pointed out, you‘re explicitly making a http request. Duh. nc is for generic connections and handles it well. | ||
| ▲ | pratyahava 4 hours ago | parent [-] | |
i know, but the OP's goal was to host/access http(s) services with names and avoid port numbers, and gopher service name was chosen by me as an example. my point was that /etc/services cannot be used for the OP's need. if you host an http(s) service on port 11111 you can reach it with url http://127.1:11111, but url http://127.1:vce/ would not work in most software. | ||