Title: [Windows] Hook times out after 29s — localhost resolves to ::1
(IPv6) first but worker only listens on 127.0.0.1 (IPv4)
Environment: Windows 11, Node v24, Git Bash D:\Program Files\Git
Root cause confirmed:
- Test-NetConnection 127.0.0.1:37777 → Success
- Test-NetConnection ::1:37777 → Failed
- hook_duration_ms = 29,947ms (TCP timeout)
- [System.Net.Dns]::GetHostAddresses("localhost") returns IPv6 first
Fix: hook code should use "127.0.0.1" instead of "localhost"
Title: [Windows] Hook times out after 29s — localhost resolves to ::1
(IPv6) first but worker only listens on 127.0.0.1 (IPv4)
Environment: Windows 11, Node v24, Git Bash D:\Program Files\Git
Root cause confirmed:
Fix: hook code should use "127.0.0.1" instead of "localhost"