Looks like you're .NET WCF Client is using IPv6.  0:0:0:0:0:0:0:1 is the 
loopback IP for IPv6, just as 127.0.0.1 is the loopback IP for IPv4.

-----Original Message-----
From: v2cg4ss [mailto:[email protected]] 
Sent: Thursday, March 11, 2010 3:40 PM
To: [email protected]
Subject: Remote IP Address from a .NET WCF Client to My Web Service


MessageContext msgCtx = MessageContext.getCurrentMessageContext();
if (msgCtx != null)
{
       System.out.println(msgCtx.getProperty(MessageContext.REMOTE_ADDR));
}

Works great for a Java client: 127.0.0.1 But for a .NET WCF client I get
0:0:0:0:0:0:0:1

Anyone have any IDEAS????
-- 
View this message in context: 
http://old.nabble.com/Remote-IP-Address-from-a-.NET-WCF-Client-to-My-Web-Service-tp27870259p27870259.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to