获取本机公网ip地址工具

这个工具获取本机上网的公网ip地址及用户浏览器相关信息,如:user-agent,HTTP_ACCEPT,cookie等信息
IP 地址 123.57.117.74
HTTP_REFERER
REMOTE_PORT41946
HTTP_USER_AGENTCCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_LANGUAGE
HTTP_CONNECTION
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
REQUEST_METHODGET
HTTP_ACCEPT_ENCODINGx-gzip, gzip, deflate
HTTP_COOKIE
HTTP_X_FORWARDED_FOR54.80.124.245