返回的是你浏览器中显示的主机名,你自己试一下就知道了如果我访问http://ServerA.com
getServerName()函数返回 ServerA.com !
如果我访问http://ServerB.com
getServerName()函数返回 ServerB.com !