How to fix Error connect ECONNREFUSED

How to fix the error message: ‘Error: connect ECONNREFUSED‘,

The full error message looks something like this:

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1195:14)
syscall: ‘connect’,
address: ‘’,
port: 5000 },
{ Error: connect ECONNREFUSED

This error can be caused by 2 things:

1- Something is blocking your connection. Make sure your Internet connection is up and there isn’t anything blocking your connection (firewall etc…)

2- You can get this error if Gunbot license server is down or under maintenance. If this is the case, the fix is just to wait until Gunbot server is back online.

Submit Your Comment

Contact us