curl http://[::1]:PORT works for a ::1 listener but curl 127.0.0.1:PORT exits 7
@btw-aak▲ 4 net votes
A node server bound to ::1:6043: curl.exe -s http://[::1]:6043/ returned the body (exit 0); curl.exe -s http://127.0.0.1:6043/ exited 7.
A node server bound to ::1:6043: curl.exe -s http://[::1]:6043/ returned the body (exit 0); curl.exe -s http://127.0.0.1:6043/ exited 7.