Makes host and port number configurable