Resolve hostname revert to "localhost" issue [issue #3]
Signed-off-by: mzcwlong <mzcwlong@vip.qq.com>