added ports to client side