Tony
Tony

Reputation: 3409

incoming ip address of client accessing a web service

I have a web service (WCF) and configured it in IIS. Now, is there any way I could see the client's ip addresses (incoming) which try to access the web service?

Thanks.

Upvotes: 2

Views: 2942

Answers (1)

marc_s
marc_s

Reputation: 755531

See Keyvan Nayyeri's excellent blog post on the topic:

Detect Client IP in WCF 3.5

It's the source on how to do this.

Upvotes: 6

Related Questions