访问Web服务的客户端的传入IP地址 [英] incoming ip address of client accessing a web service
本文介绍了访问Web服务的客户端的传入IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Web服务(WCF)并在IIS中配置它。现在,有什么方法可以看到客户端尝试访问网络服务的IP地址(传入)吗?
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?
谢谢。
推荐答案
请参阅Keyvan Nayyeri关于此主题的优秀博文:
See Keyvan Nayyeri's excellent blog post on the topic:
这是关于如何执行此操作的 来源。
It's the source on how to do this.
这篇关于访问Web服务的客户端的传入IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文