Ws: Error: connect ECONNREFUSED 127.0.0.1:8080

Created on 5 Apr 2018  路  3Comments  路  Source: websockets/ws

  • [ ] I've searched for any related issues and avoided creating a duplicate issue.

Description


I have disable fire wall and antivirus no one using port 8080
I got this error
Error: connect ECONNREFUSED 127.0.0.1:8080
Please advise

Reproducible in:

version:
Node.js version(s):8.11.1
OS version(s): Windows 10

Steps to reproduce:

1.
2.
3.

Expected result:

Actual result:

Attachments:


image
image
image

Most helpful comment

START server
cannot call http://localhost:3000 0 5 { Error: connect ECONNREFUSED 127.0.0.1:3000
at Object.exports._errnoException (util.js:1026:11)
at exports._exceptionWithHostPort (util.js:1049:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1085:14)
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000 }

All 3 comments

Is there a WebSocket server listening on 127.0.0.1:8080?

Closing, as I can't see a server running in the above screenshots so the error is expected.

START server
cannot call http://localhost:3000 0 5 { Error: connect ECONNREFUSED 127.0.0.1:3000
at Object.exports._errnoException (util.js:1026:11)
at exports._exceptionWithHostPort (util.js:1049:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1085:14)
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000 }

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robertmylne picture robertmylne  路  3Comments

cra0kalo picture cra0kalo  路  3Comments

makc picture makc  路  4Comments

ImBundle picture ImBundle  路  3Comments

nodesocket picture nodesocket  路  4Comments