[CHANGE] use eth0 ip if eth0 ip is private by default;
[CHANGE] rubocop compliance;
Merge pull request #96 from Bigpoint/ipsearch

Ipsearch