Skip to content

Fix: Replace localhost with 127.0.0.1 to avoid IPv6 resolution delay …#547

Open
hoo01 wants to merge 1 commit into
datawhalechina:mainfrom
hoo01:fix/localhost-ipv6
Open

Fix: Replace localhost with 127.0.0.1 to avoid IPv6 resolution delay …#547
hoo01 wants to merge 1 commit into
datawhalechina:mainfrom
hoo01:fix/localhost-ipv6

Conversation

@hoo01
Copy link
Copy Markdown

@hoo01 hoo01 commented May 3, 2026

On Windows, localhost resolves to IPv6 (::1) first, which times out before falling back to IPv4 (127.0.0.1). This caused ~30 second delays per request. Fixed by using the explicit IPv4 address.

…on Windows

On Windows, localhost resolves to IPv6 (::1) first, which times out before falling back to IPv4 (127.0.0.1). This caused ~30 second delays per request. Fixed by using the explicit IPv4 address.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant