3 ms·
It definitely doesn't make sense, because two unrelated hosts can share the same IP. If you tried to fetch http://a.b.c.d/some/path http://a.b.c.d/some/path, th
by kstrauser 7y ago
It definitely doesn't make sense, because two unrelated hosts can share the same IP. If you tried to fetch http://a.b.c.d/some/path http://a.b.c.d/some/path, then the server will fail because it doesn't know which host you mean.
In this case, Java has thrown away the critical distinction between the two.
- sjwright 7y agoAnd it especially doesn’t make sense because resolving to the same IP on the server right now doesn’t guarantee it will resolve the same on the client, or even on the same server in 15 minutes time.