在web.config 中添加以下代码.

proxyaddress 可以使用IP address或者localhost

 

<configuration>
 <system.net>
  <defaultProxy>
  <proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:8888" usesystemdefault="false" />
  </defaultProxy>
 </system.net>
</configuration>

 

相关文章:

  • 2022-01-16
  • 2021-08-01
  • 2021-09-20
  • 2021-04-17
  • 2021-06-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-11-06
  • 2021-08-18
  • 2021-11-19
  • 2021-04-06
相关资源
相似解决方案