Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Why are localhost requests redirected to proxy ? #22

Open
HamzaKhait opened this issue Nov 16, 2017 · 0 comments
Open

Why are localhost requests redirected to proxy ? #22

HamzaKhait opened this issue Nov 16, 2017 · 0 comments

Comments

@HamzaKhait
Copy link

Hi all,

I have an issue with localhost requests. My node.js app needs to get data from both outside (Internet) and localhost. Internet requests are working fine through the proxy but even localhost requests are also sent to the proxy which is not normal.

Is there any parameter to ignore localhost requests?

Here's my config :

var globalTunnel = require('global-tunnel');

globalTunnel.initialize({
  host:'ProxyIP',
  port:3128,
  protocol:'http:',
  tunnel:'both'
});

Many thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant