IP难题,高分求教!顶者有分!
<%
userip = Request.ServerVariables("REMOTE_ADDR")
Response.Write userip
%>
如上代码,获得客户端IP,我都通过外网网址访问,为什么在别人服务器上我可以看到我正确的IP地址218.17.221.199,在我自已服务器上,同样的代码,无论是谁访问看到的IP都是172.16.100.10,高分求助!
这段文章可能写出我的问题,但我看不太懂!
http://www.csdn.net/develop/read_article.asp?id=19468
下面的贴子和我的问题差不多
http://expert.csdn.net/Expert/topic/2265/2265906.xml?temp=1.314944E-02