port must be of type number