koajs / kick-off-koa

[MAINTAINERS WANTED] An intro to koa via a set of self-guided workshops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection refused.

hemanth opened this issue · comments

Missing something?

@dead-horse noticed that and tried multiple times, it picked up ports like 7052 9459 so on...still the same error.

it works fine in my computer. :(

can you update to kick-off-koa@0.0.2? I've add some more exercises and more error info.

Will update soon, btw I was creating templates exercise on my fork ;)

awesome

Now I notice:

$ kick-off-koa verify hello.js 
The submission server will listen at port 6072
The solution server will listen at port 6073
✗ Error connecting to submission server(http://localhost:6072/hello), options: {"timeout":5000,"maxRedirects":10}. Error: connect ECONNREFUSED
    at exports._errnoException (util.js:742:11)
    at Object.afterConnect [as oncomplete] (net.js:989:19)
✗ Error connecting to solution server(http://localhost:6073/hello), options: {"timeout":5000,"maxRedirects":10}. Error: connect ECONNREFUSED
    at exports._errnoException (util.js:742:11)
    at Object.afterConnect [as oncomplete] (net.js:989:19)
6072
{23:20}[]~/git/kick-off-koa:master ✓ ➭ kick-off-koa verify exercises/hello_koa/solution/solution.js 
The submission server will listen at port 9953
The solution server will listen at port 9954

Your submission results compared to the expected:

────────────────────────────────────────────────────────────────────────────────

1.    ACTUAL:  "hello koa"
1.  EXPECTED:  "hello koa"

2.    ACTUAL:  ""
2.  EXPECTED:  ""


────────────────────────────────────────────────────────────────────────────────

✓ Submission results match expected

does other exercise have the same error?

@dead-horse This was the same code.

It works fine now.

weird

Yup, pretty weird. BTW I had pinged you on G+ hangout ;)