I have IIS installed in my local machine. When I have my IE settings to use a corporate proxy pac script, when I browse http://127.0.0.1 instead of going into my IIS it goes to http://10.114.5.20/. If I set my IE settings to a manual proxy (with the bypass proxy by local adress checked) the http://127.0.0.1 show my IIS application.
Any ideas what is wrong with the original settings? How 127.0.0.1 gets redirected to another IP? Where to look?
My computer is w7 64 bits laptop.
Don’t know who is 10.114.5.20. It is not my local ip. It is not any of my dns servers. It is not my default gateway.
Pac script could return two proxies: or 10.114.5.11 or 10.114.5.14. Not sure what the 10.114.5.20 machine could be, maybe it is the default gateway of the proxies…
Just a last update:
I download and saved the PAC script locally, and changed the http://… URI to a local file://C:/… one. And surprisingly enough, it worked. I mean the http://localhost now goes to my computer, not to the strange http://10.114.5.20/.
Reading the PAC script file I notice that when opened with Notepad all text goes into one line, but opening with Wordpad I see several lines. Opening in binary, the carriage return is a unix style one (0A) instead of the windows one (0D0A).
So I supose the explanation comes down to say the Automatic configuration script setting in IE doesn’t understand unix style carriage returns When parsing the pac script, so it always returned the proxy, never DIRECT.
The problem is in the corporate proxy pac script. It does not allow the “bypass proxy for local addresses”.
Try
ping -a 10.114.5.20ortracert 10.114.5.20to try to figure out who is at that address.FYI… if you want to use the default settings for the proxy, then don’t use “localhost”, instead, use your real IP address. The Proxy server should redirect the request back to your own machine.