Skip to content

Instantly share code, notes, and snippets.

@poqdavid
Created February 3, 2022 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poqdavid/4cf3c910b2af70d6331cb7bb98de2dd0 to your computer and use it in GitHub Desktop.
Save poqdavid/4cf3c910b2af70d6331cb7bb98de2dd0 to your computer and use it in GitHub Desktop.
Error ErrorEvent {
[Symbol(kTarget)]: WebSocket {
_events: [Object: null prototype] {
open: [Function],
message: [Function],
error: [Function],
close: [Function]
},
_eventsCount: 4,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 1006,
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: <Buffer >,
_closeTimer: null,
_extensions: {},
_paused: false,
_protocol: '',
_readyState: 2,
_receiver: null,
_sender: null,
_socket: null,
_bufferedAmount: 0,
_isServer: false,
_redirects: 0,
_url: 'ws://localhost:5899',
_req: null,
[Symbol(kCapture)]: false
},
[Symbol(kType)]: 'error',
[Symbol(kError)]: Error: connect ECONNREFUSED ::1:5899
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 5899
},
[Symbol(kMessage)]: 'connect ECONNREFUSED ::1:5899'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment