Made client connect to ip instead of localhost