Turns out it was interference with the IPv6 address. Disabling the IPv6 solved the problem