Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Error: connect ECONNREFUSED #9

Open
cnfi opened this issue Apr 25, 2014 · 5 comments
Open

ERROR: Error: connect ECONNREFUSED #9

cnfi opened this issue Apr 25, 2014 · 5 comments

Comments

@cnfi
Copy link

cnfi commented Apr 25, 2014

ERROR: Error: connect ECONNREFUSED

@dwhu
Copy link

dwhu commented Jan 27, 2016

I have the same issue. Even though I have pointed the proxy to point to proxy = new Proxy({selPort: 4444}) it still attempts to bind to port 8080.
ERROR: Error: connect ECONNREFUSED 127.0.0.1:8080

@mikeproeng37
Copy link

I am also getting this error. I run the following

    proxy = new Proxy({ host: 'localhost', port:9091 })
    proxy.start(function(err, data) {
      if (err) {
        console.error(err);
      }

But on start, I get an error { [Error: socket hang up] code: 'ECONNRESET' } any ideas on why?

@macroking
Copy link

@dwhu The reason is that we first need to start the browsermob proxy,
GoTo Browermobproxy /bin folder and run 'browsermob-proxy.bat' or 'browsermob-proxy.sh'
browsermob-proxy -port 8080

After doing that, your code should work just fine.

@shashidharus
Copy link

Is this resoved? @cnfi @kjbekkelund

@trungnguyenexp
Copy link

@shashidharus there is no browsermob-proxy.bat nor browsermob-proxy.sh in /bin folder.

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

No branches or pull requests

6 participants