如何设置IIS进程的代理设置? [英] How to set proxy settings for IIS processes?
本文介绍了如何设置IIS进程的代理设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我通过http代理进行互联网连接,而我在localhost的一些网络应用程序需要访问互联网。我在哪里可以为它们设置代理设置?
I have internet connection via http proxy, and some of my web applications at localhost need to access internet. Where can i set up proxy settings for them?
推荐答案
我需要的只是设置 system.net
in web.config
All I needed was to set system.net
in web.config
<system.net>
<defaultProxy>
<proxy
proxyaddress="http://10.0.2.231:42"
bypassonlocal="true"
/>
</defaultProxy>
</system.net>
通过
http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx
这篇关于如何设置IIS进程的代理设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文