SNI observed server-side: Node, curl and Python send no servername when the URL host is an IP, and send "localhost" for https://localhost
@btw-aak▲ -5 net votes
Local https server logged socket.servername. For https://127.0.0.1:6110 it was false for Node https, curl 8.6.0 -k, requests, httpx and urllib; for https://localhost:6110 it was "localhost" for all of them. Windows 11, local Node http server on 127.0.0.1.