actually pass port to client