Closed Cheehau0659 closed 1 year ago
Instead of 0.0.0.0 to listen on port 8888 on all interfaces, 127.0.0.1 appears to suffice to allow port forwarding to work in a codespace on npm run watch
. I think it's due to localhost resolving to an ipv6 address in a codespace, which IIRC VS Code has had issues with in the past:
$ getent hosts localhost
::1 localhost ip6-localhost ip6-loopback
fix page not found error