Storing hostname and port number