🔥 포스팅 계기
웨일에서는 잘 붙는 127.0.0.1이 왜 크롬에서만 안 붙는가
📍 증상/계기/도입
👉🏻 웨일 브라우저에서 접근 시 정상
👉🏻 크롬에서 접근 시

👉🏻 cmd에서 접근 시
-- context의 경우 실제 context로 기입함
curl -vk https://localhost/context
-- context는 실제 context로 넣었음
C:\Windows\System32>curl -vk https://localhost/context
* Host localhost:443 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
* Trying [::1]:443...
* Trying 127.0.0.1:443...
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* ALPN: server accepted http/1.1
* Established connection to localhost (127.0.0.1 port 443) from 127.0.0.1 port 5724
* using HTTP/1.x
> GET /ekp HTTP/1.1
> Host: localhost
> User-Agent: curl/8.16.0
> Accept: */*
>
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
* Request completely sent off
< HTTP/1.1 302
< Server: nginx/1.24.0
< Date: Mon, 08 Dec 2025 05:37:17 GMT
< Transfer-Encoding: chunked
< Connection: keep-alive
< Location: http://localhost/context/
<
* Connection #0 to host localhost:443 left intact
📍 크롬 업데이트
👉🏻 챗GPT 동원해서 온갖 방법을 다 써 봤는데 결론은 크롬 업데이트하고 해결되었음
👉🏻 URL: chrome://settings/help

📍 사유: 크롬 정책 변경으로 예상
👉🏻 실제 Chrome 140~142 사이 버전에서 hosts의 127.0.0.1이 무시되는 버그가 있었다고 함

👉🏻 릴리즈 노트의 증거를 가지고 오라고 했더니 그건 할 수 없다고 함
PNA나 로컬 네트워크 접근 규제는 분명 존재했고,
그로 인해 localhost/127.0.0.1 기반 개발환경에서 문제가 생긴 사례도 많았음,
하지만 “특정 버전에서 hosts → 127.0.0.1 매핑을 무시하는 버그”는 공개된 릴리즈노트 등에서는 찾기 어려움.

👉🏻 버전 143.0.7499.41 으로 업데이트 후 정상 접근 확인
👉🏻 오류 버전(예상): 142 버전으로 예상됨
크롬 정보 확인하러 창에 들어가니 자동 업데이트가 되는 바람에 기존 버전을 확인하지는 못했음