Added local host get IP method