在 web.config 文件中找到 system.net 节点, 在节点里加入即可.
<system.net>
  <defaultProxy>
    <proxy 
      proxyaddress="http://10.0.2.231:42"
      bypassonlocal="true"
    />
  </defaultProxy>
</system.net>
原文
在 web.config 文件中找到 system.net 节点, 在节点里加入即可.
<system.net>
  <defaultProxy>
    <proxy 
      proxyaddress="http://10.0.2.231:42"
      bypassonlocal="true"
    />
  </defaultProxy>
</system.net>
原文