sjitech / proxy-login-automator

A single node.js script to automatically inject user/password to http proxy server via a local forwarder
MIT License
395 stars 93 forks source link

Error: getaddrinfo ENOTFOUND #3

Closed herlon214 closed 8 years ago

herlon214 commented 8 years ago

I'm trying to execute your example and the result is:

Using parameters:
{
  "local_host": "localhost",
  "local_port": 65000,
  "remote_host": "removed",
  "remote_port": 80,
  "usr": "removed",
  "pwd": "removed",
  "as_pac_server": true
}
Failed to listen at localhost:65000
Error: getaddrinfo ENOTFOUND
jjqq2013 commented 8 years ago

It seems localhost is not in your etc hosts. Try127.0.0.1 please