$ curl -v http://127.0.0.1:8000/ * Trying 127.0.0.1:8000... * Connected to 127.0.0.1 (127.0.0.1) port 8000 > GET / HTTP/1.1 > Host: 127.0.0.1:8000 > User-Agent: curl/8.5.0 > Accept: */* > < HTTP/1.1 200 OK ...
$ curl -v http://localhost:8000/ * Host localhost:8000 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8000... * Connected to localhost (::1) port 8000 > GET / HTTP/1.1 > Host: localhost:8000 > User-Agent: curl/8.5.0 > Accept: */* > < HTTP/1.1 200 OK ...
まあ、それはそうかという感じだけど、いっかいipv6で接続試みてフォールバックしてるのを見るとへえってなる。
手元ではこれが原因で、localhost指定したときだけめっちゃ遅かったりしていた。経路違うもんなー。