Closed Bug 1618438 Opened 5 years ago Closed 5 years ago

Firefox cannot connect to localhost through localhost proxy

Categories

(Core :: Networking: HTTP, defect)

75 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1535581

People

(Reporter: raysatiro, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

I'm using a debugging proxy, Fiddler, on localhost. I am trying to connect to test servers on localhost and expect Firefox to connect to them through the localhost proxy.

Actual results:

Firefox ignores the 'No Proxy' setting for localhost, 127.0.0.1.

Expected results:

If the proxy is localhost or 127.0.0.1 and the destination is same then Firefox should use the proxy. Old Firefox would send localhost over the proxy if it was not listed in 'No Proxy'.

Component: Untriaged → Networking: HTTP
Product: Firefox → Core

Can you check if setting the network.proxy.allow_hijacking_localhost pref to true fixes this for you?

Flags: needinfo?(raysatiro)

(In reply to Valentin Gosu [:valentin] (he/him) from comment #1)

Can you check if setting the network.proxy.allow_hijacking_localhost pref to true fixes this for you?

Yeah that fixed it, thanks. Looks like a dupe of bug #1535581.

Flags: needinfo?(raysatiro)
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.