make it possible to use different public & private ports