R
Size: a a a
R
R
R
CS
GS
const socket = new net.Socket();
socket.connect(PORT, HOST, () => {
socket.close();
});GS
NM
R
node:events:346
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED 127.0.0.1:8080
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1138:16)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:188:8)
at emitErrorCloseNT (node:internal/streams/destroy:153:3)
at processTicksAndRejections (node:internal/process/task_queues:81:21) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8080
}
R
R
GS
АП
R
R
R
GS
GS
R
errno: -4078,
code: 'ECONNREFUSED',