如何设置IIS进程的代理设置?

时间:2011-01-19 19:24:23

标签: iis proxy iis-7.5

我通过http代理连接互联网,而我在localhost的一些网络应用程序需要访问互联网。我在哪里可以为它们设置代理设置?

1 个答案:

答案 0 :(得分:29)

我需要的是在system.net

中设置web.config
<system.net>
    <defaultProxy>
      <proxy
        proxyaddress="http://10.0.2.231:42"
        bypassonlocal="true"
      />
    </defaultProxy>
</system.net>

请参阅: Element (Network Settings)

相关问题