Usage of new method getLocalIpAddress