Use InetSocketAddress(0) if no localAddress is specified for connect() operation in UDT