【问题标题】:How to set proxy settings for IIS processes?如何为 IIS 进程设置代理设置?
【发布时间】:2011-06-11 23:58:40
【问题描述】:

我通过 http 代理连接到 Internet,并且我在 localhost 的一些 Web 应用程序需要访问 Internet。我在哪里可以为他们设置代理设置?

【问题讨论】:

    标签: iis proxy iis-7.5


    【解决方案1】:

    我只需要在web.config 中设置system.net

    <system.net>
        <defaultProxy>
          <proxy
            proxyaddress="http://10.0.2.231:42"
            bypassonlocal="true"
          />
        </defaultProxy>
    </system.net>
    

    请参阅: Element (Network Settings)

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-12-05
    • 1970-01-01
    • 1970-01-01
    • 2013-12-22
    • 2011-04-01
    • 1970-01-01
    • 2012-06-28
    • 2021-09-28
    相关资源
    最近更新 更多