fetch public ip

close #40