Why are localhost requests redirected to proxy ?
Opened this issue · 0 comments
HamzaKhait commented
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.