Switched back to using the domain name for the socket connect.