Try another way to get external IP when fails.

Signed-off-by: Harry Chen <373685963@qq.com>
Merge pull request #136 from Harry-Chen/master

Try another way to get external IP when fails.