Added method to get active internet adapter localhost ip