workaround if you don't need IP6:
System Preferences > Network > [click your ethernet or wifi adapter on left, unlock padlock if needed] > Click Advanced on right > Click TCP/IP tab > NONE, or Configure IPv6: Link-local only
System Preferences > Network > [click your ethernet or wifi adapter on left, unlock padlock if needed] > Click Advanced on right > Click TCP/IP tab > NONE, or Configure IPv6: Link-local only
The problem seems to come from the fact that the port is just appended to the address, but with an ipv6 you have to surround it with brackets
[1::c0de:f0r::f00d]:1337