RemoteIP

Hi,
I'm using TXDataOperationContext.Current.Request.RemoteIP to retrieve the client IP and i'm getting "::1", I have another XData project where I get "127.0.0.1". What do I need to change to also retrieve it as "127.0.0.1".

Thanks in advance,

Omar Zelaya

I believe this has to do with your network settings. Your client seems to be reaching the server via IPv6 (and the other is IPv4) thus the reason why you get different values.

Hi,

I'm testing client and server of both apps on the same machine, thats why i'm triying to figure out why one uses ipv6 and other uses ipv4. On both clients I use TXDataClient to connect to the server.

Thanks in advance,

Omar Zelaya

You tell me what is the difference between them, then? :slight_smile: