
They both hit “your machine,” but they don’t behave the same. Here’s what changes with DNS, IPv6, cookies, CORS, TLS, proxies, Docker, and OAuth. Introduction: “It works on 127.0.0.1 but not on localhost” You’ve probably said (or heard): “It works when I use 127.0.0.1, but it breaks with localhost” Same computer, same port, so why the…