이 쓰레드는 보존되었습니다. 만약 도움이 필요하시면 새로운 질문을 올려주세요.
Difference between PAC reutrn "DIRECT" and Firefox' "no proxy for"?
I'm trying to run a local IPython Notebook  in Firefox with a proxy-auto-config (PAC). It opens under http://localhost:8888/ I get an error message just as stated in  about a websocket connection failing (also when changing to http://127.0.0.1:8888/). Changing the advanced network properties to manual proxy settings with "no proxy for localhost, 127.0.0.1", the error disappears. I think that means Firefox tries to use a proxy for localhost when the PAC file is the active setting. I looked into the file and found
function FindProxyForURL(url, host)
if (shExpMatch(url, "http*://localhost/*")) return "DIRECT";
if (shExpMatch(url, "http*://localhost:*/*")) return "DIRECT";
if (shExpMatch(url, "http*://127.*.*.*/*")) return "DIRECT";
So, if I understand this correctly, Firefox shouldn't be using a proxy for localhost, but I get a different behavior than if I use the manual setting ignoring localhost and 127.0.0.1 -- why is that? There is no other mention of localhost in the PAC file. The user of stackoverflow in  has noticed the same problem.
I also tried in safe mode, no difference.
Using Firefox ESR 31.5.3 with Windows 7
글쓴이 crunth 수정일시
모든 댓글 (1)
Hi crunth , It might be helpful to direct this to the right audience: If you can reproduce it, please file a bug in bugzilla.mozilla.org under ESR and talk to the mailing list listed: