Allow port to be specified in configuration