关于用Request.UserHostAddress 取得的IP 的问题我家里的电脑设为固定IP 为:192.168.1.10 ,用Request.UserHostAddress 取的IP为何是127.0.0.1 而不是192.168.1.10[解决办法]是不是你的网址是localhost ?