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

Connection Refused #61

Open
pvencill opened this issue Aug 22, 2011 · 5 comments
Open

Connection Refused #61

pvencill opened this issue Aug 22, 2011 · 5 comments

Comments

@pvencill
Copy link

Tried following the example on the docs and get "connection refused". The app works fine when I fire it up in node and navigate through curl or a browser.

@craftgear
Copy link

Don't you write like this?

browser = tobi.createBrowser("3000", "localhost");

This makes "Error: ECONNREFUSED, Connection refused" error.

Make sure the first argument is a number not a string.

browser = tobi.createBrowser(3000, "localhost");

@yevgenko
Copy link

yevgenko commented Jan 8, 2012

thank @craftgear browser = tobi.createBrowser(3000, "localhost"); works for me, probably typo in readme?? i.e.:browser = tobi.createBrowser(app); doesn't work "Error: ECONNREFUSED, Connection refused"

@craftgear
Copy link

no worries :-)

@nagyv
Copy link

nagyv commented Feb 18, 2012

I have the same error:

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: connect ECONNREFUSED
    at errnoException (net.js:642:11)
    at Object.afterConnect [as oncomplete] (net.js:633:18)

I've tried both browser = tobi.createBrowser(3000, 'localhost'); and browser = tobi.createBrowser(app);, the same error occured

my code is simply a vow topic

      browser.post(
        '/register', 
        {
          login: 'mylogin', 
          password: 'password',
          password2: 'password'
        }, 
        this.callback
      );

I'm running tobi 0.3.2, express 2.5.8, node 0.6.10

any ideas how to avoid this error? even a working version triad is fine :)

@richzw
Copy link

richzw commented Jul 23, 2012

+1

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

5 participants