Add alternate method to fetch public ip-address