Use ip instead of dns hostname in connect script