I use a Windows Azure Service Bus Relay to expose methods from a WCF WebServiceHost. I am trying to find a way to get the IP of the method caller. I tried many different methods.
HttpContext.Current.Request.UserHostAddress - always null (event with aspNetCompatibilityEnabled="true" )
I also tried using the WebOperationContext.Current and OperationContext.Current, and I debugged trying to find my IP but it is not there, I suspect this will only show me the Windows Azure IP because the traffic goes through that, so is there any other way
I can get the IP from the "real client" to my actual server, it seems otherwise it disappear in the Azure Relay servers. Maybe some special service bus property?
I simply want to the log the IP of the client that call my method via Azure.
best regards