Showing posts with label Proxy. Show all posts
Showing posts with label Proxy. Show all posts

Nov 19, 2013

IE Cannot Access localhost

I recently installed Internet Explorer 11 and today when debugging and I found that I could not access localhost website.


But at the same time, Chrome and Firefox both work very well. I tried to re-install IE, go to factory settings etc., but the problem still exists.

Luckily I found out the solution:
It turns out to be that I have used proxy, and the proxy settings needs to be further set. Please notice that even I clicked "Bypass proxy server for local addresses", which means localhost will certainly not use the proxy settings, it doesn't work.


The solution is: Click the "Advanced" button, and add "localhost" in the exception list, please notice that you need to use a semicolon to separate items.


If you think this article is useful, please click the ads on this page to help. Thank you very much.

Dec 9, 2009

Manually Create Proxy File

In many companies, we have to use proxy to connect to internet in that company needs to do the center control about web access, content filter etc.
So how to manually add your proxy settings together with the company proxy settings?
1, input the proxy setting address in the IE. In my case, I have input http://autocache.**.com, and a file download dialog will be prompted. Save this file as my.pac in C drive root. Of course you can put it in any place you want.
2, open this file with txt edit, for example notepad.

//Modified by Sai
if (shExpMatch(host, "*.blogspot.com"))
return "PROXY web-proxy.sgp.**.com:8080";
This means if the expression matches *.blogspot.com use your specified proxy.
3, open IE, in tools->Internet Options->Connections->LAN settings->check use automatic configuration script, input address file://c:/my.pac

That's it.