Bypass proxy server for local Addresses in Internet Explorer explained

If you're new here, you may want to subscribe to Windows Reference RSS feed Thanks for visiting!


If you are a Proxy Administrator in an organisation, one of the most common problems with users and their Internet Explorer browsers is the “Bypass proxy” settings and how they work. This article should bring some light on proxy bypass.

When click Tools – Internet Options – Connections – LAN Settings on your Internet Explorer, you can see “Proxy Server” settings where you enter the IP/Hostname of the proxy server and the port number on which it listens on. This is the host to which all browser requests will be forwarded to. This helps improve performance from caching the pages or objects where necessary and these days proxies are evolving from just being a caching appliance to a more Internet Access Control devices.


There are instances where you would prefer to bypass the proxy and access the website or resource directly. A classic example is the locally available resources like Intranet or an extranet service which is available through a direct network access or is a service which doesn’t work very well with proxies.

You can choose to enable the option “Bypass Proxy Server for local addresses” to bypass any local addresses. But, what here means as local ip addresses? Is it the local subnet? local pcs or servers? how does the browser understand this?

Bypass proxy server in local addresses
In simple terms, Internet Explorer is designed to assume only a hostname as a local address and everything else as either an external address.

With the above, the following is true when it comes to handling bypass for local addresses where:

A URL with a hostname is referred as a local address. For example, http://intranet is a local address and hence will bypass proxy.

A URL with a domain name (with “.”s in it) is considered as a Fully Qualified Domain Name and will be passed through the proxy even if it is a local address. For instance, the same resource above if you refer it with its hostname.domainname like http://intranet.mynetwork.local where it is a part of the domain mynetwork.local and the traffic will still pass through the proxy even if “Bypass proxy server for local addresses” is selected.

A URL with an IP Address is considered as an external resource or server even if it is in the local subnet and will be passed through the proxy even if “bypas proxy” is selected. For example. http://192.168.0.100 which is same as http://intranet is passed through the proxy as it is considered as an external resource.

So, in the case of a FQDN or an IP Address, the only way to bypass proxy would be click the Advanced button and add these to the Exception List. You can use wildcards in these. For instance, intranet*, 10.1.1.1,www.mygoogle.com, 172* are all valid.

proxy Exception list

For more detailed information, check this Microsoft Technet

  • Share/Bookmark

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader.

Trackbacks & Pingbacks

No trackbacks/pingbacks yet.

Comments

amazing

i tried what u said but the site doesnt execute…
our server act as aproxy server and we are not able to by pass it even after following da above procedure….
it says I.E. cannot display da web page…
please help

It is really usefull

thank you very much

how do i get to my LAN settings

great! I was really wondering how the PC recognizes the local address as there could be different Vlans with different subnets. thanks for informing about the criteria.

Plz i need ip and poxt to by pass this server

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)