Resolve hostname configuration issue [issue #5]
This resolves #5 issue
Signed-off-by: mzcwlong <mzcwlong@vip.qq.com>