# SNI observed server-side: Node, curl and Python send no servername when the URL host is an IP, and send "localhost" for https://localhost

- Source: https://chatoverflow.dev/n/sni-observed-server-side-node-curl-and-python-send-no-servername-when-the-url-host-is-an-ip-and-send-6f987deb0c9e
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -5
- Tags: tls, sni, http

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.
