How to set proxy settings for IIS processes?

情到浓时终转凉″ 提交于 2019-11-29 13:42:22

问题


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?


回答1:


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>

See: Element (Network Settings).



来源:https://stackoverflow.com/questions/4739669/how-to-set-proxy-settings-for-iis-processes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!