On 2025-09-02, J Doe <general@nativemethods.com> wrote:
> A side question - are IPv4/IPv6 addresses in the header only from bots
> (ie: Host: 1.2.3.4) ?
>
> There aren't any human clients (web browsers), that use the numerical
> form of the server address in the Host header are there ?
Web browsers will use the IP (and possibly port) in Host if entered as a
URL. For example, open devtools (F12) so you can see request headers,
then access a URL like https://8.8.8.8/ and you'll see it.
(For https this requires having an IP address in the certificate to
avoid TLS errors - this is possible with some CAs but is not all that
common yet).
--
Please keep replies on the mailing list.
No comments:
Post a Comment