使用网络凭证的旁路代理 [英] bypas proxy using network credential
本文介绍了使用网络凭证的旁路代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的服务器和公司用户代理服务器上有一个网站,当我尝试从客户端机器获取IP地址时,它给我代理IP地址而不是客户端机器IP地址
i希望在我的应用程序中放置代理服务器凭证以绕过代理并获取客户端机器IP
请帮助我如何才能完成此过程
i have a website on my server and my company user Proxy server when i try to get IP address from client machine its giving me Proxy IP address not client machine IP address
i want to put Proxy server credential in my application to bypass the proxy and get the client machine IP
please help me out how can i do this process
推荐答案
在你的web.config中...
Inside your web.config...
<system.net>
<defaultProxy enabled="true">
<proxy usesystemdefault="False" bypassonlocal="True" autoDetect="False" proxyaddress="http://theproxyIP:3128"/>
</defaultProxy>
</system.net>
希望有所帮助。
Hope it helps.
这篇关于使用网络凭证的旁路代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文