add host name and port.