Closed
Description
UDP port forwarding doesn't seem to work with IPv6. I verified it does work with IPv4.
Reproduction steps (e.g. with https://gist.github.com/tuxmartin/e64d2132061ffef7e031 and modified to work with Python3 by changing the prints and MESSAGE to have b
prefix)
- UDP port forward with coder cli:
coder port-forward <workspace> --udp 5005
- Run server inside the coder workspace
- Run client locally with
AF_INET6
andUDP_IP=::1
orlocalhost
: doesn't work (with Wireshark I can see it's using IPv6) - Run client locally with
AF_INET
andUDP_IP=127.0.0.1
orlocalhost
: works (with Wireshark I can see it's using IPv4)