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

ECONNREFUSED #4

Closed
cmpsoares91 opened this issue Jun 14, 2014 · 1 comment
Closed

ECONNREFUSED #4

cmpsoares91 opened this issue Jun 14, 2014 · 1 comment

Comments

@cmpsoares91
Copy link

Hey thanks for the nice app, I was trying to use it but I get the following error:

$node router.js
Router table config data updated successfully.

Error: connect ECONNREFUSED
    at errnoException (net.js:904:11)
    at Object.afterConnect [as oncomplete] (net.js:895:19)

To add I've changed the port to 8080 because I got a redirect from port 80 to 8080 and I'm using the following config:

$cat config.js
routerTable = {};
routerTable['status.quantbull.com'] = { target: 'http://195.154.240.241:9000/' }
routerTable['health.quantbull.com'] = { target:'http://195.154.240.241:9000' }
routerTable['log.quantbull.com'] = { target:'http://195.154.240.241:9615' }
routerTable['dev.quantbull.com'] = { target:'http://195.154.240.241:8000' }
routerTable['beta.quantbull.com'] = { target:'http://195.154.240.241:8000' }
routerTable['www.quantbull.com'] = { target:'http://195.154.240.241:8000' }

My ports:

$sudo netstat -ntlp | grep LISTEN
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      875/named
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      767/sshd
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      875/named
tcp6       0      0 :::22                   :::*                    LISTEN      767/sshd
tcp6       0      0 ::1:953                 :::*                    LISTEN      875/named

How can I solve this?

Thank you very much in advance!

@Irrelon
Copy link
Owner

Irrelon commented Jun 9, 2016

I've updated the repo to include more useful errors. Hopefully this will show you what is happening.

@Irrelon Irrelon closed this as completed Jun 9, 2016
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

2 participants