HttpListenerContext.Request.IsLocal is returning false even though the caller is on the same machine as the server. I think that this may be because 'IsLocal' is implemented by the framework as:public bool get_IsLocal(){ return (this.LocalEndPoint.Address == this.RemoteEndPoint.Address);}I think it should perhaps be:public bool get_IsLocal(){ return (this.LocalEndPoint.Address.Equals(this.RemoteEndPoint.Address));}Not sure that it is relevant, but here is my IPCONFIG:Windows IP ConfigurationEthernet adapter Local Area Connection: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::ad88:486e:2b75:be03%8 IPv4 Address. . . . . . . . . . . : 192.168.1.5 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1Tunnel adapter Local Area Connection* 6: Connection-specific DNS Suffix . : IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e66:1824:3763:3f57:fefa Link-local IPv6 Address . . . . . : fe80::1824:3763:3f57:fefa%9 Default Gateway . . . . . . . . . : ::Tunnel adapter Local Area Connection* 7: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::5efe:192.168.1.5%11 Default Gateway . . . . . . . . . :
Version