connect to correct ip