Allow port to be specified