removed curl to get external ip