now successfully connects to host