set the port on the axon object instead, since the socket is recreated each (re)connect