Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Connection Refused #61

Open
pvencill opened this Issue · 5 comments

5 participants

@pvencill

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

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

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

no worries :-)

@nagyv

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

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.