Added a shot description of why you might want to set the hostname and port number for the API urls