Get the host name and use to connect