updated hostname and portnum