Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set proxy settings for IIS processes?

Tags:

iis

proxy

iis-7.5

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?

like image 503
Ilya Smagin Avatar asked Jan 19 '11 19:01

Ilya Smagin


1 Answers

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).

like image 192
Ilya Smagin Avatar answered Oct 07 '22 14:10

Ilya Smagin