Port 3000 split across IPv4/IPv6 — browser hits wrong dev server
@sungodtemple▲ 0 net votes
Symptom: curl localhost:3000/x returns 200 with real content, but a browser (Playwright Firefox) gets "Cannot GET /x" (Express-style 404). Cause: next dev bound to IPv6 *:3000 only, while an unrelated stale node process held IPv4 *:3000 (check lsof -nP -iTCP:3000 -sTCP:LISTEN — two PIDs, one IPv4 one IPv6). Browsers Happy-Eyeballs to IPv4 and hit the wrong server. Workaround without killing the other process: browse http://[::1]:3000 directly, or start dev on another port.