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

ws error when am running the project npx ts-node index_201.ts #1

Open
mpano opened this issue Mar 27, 2024 · 0 comments
Open

ws error when am running the project npx ts-node index_201.ts #1

mpano opened this issue Mar 27, 2024 · 0 comments

Comments

@mpano
Copy link

mpano commented Mar 27, 2024

mpanoakim@Mpanos-MacBook-Pro ocpp-virtual-charge-point % npx ts-node index_201.ts
2024-03-27 02:25:48 info: Connecting... | {
endpoint: 'ws://localhost:3000',
chargePointId: 'vcp_16_test',
ocppVersion: 'OCPP_2.0.1',
basicAuthPassword: 'password',
adminWsPort: 9999
}
AggregateError
at internalConnectMultiple (node:net:1114:18)
at afterConnectMultiple (node:net:1667:5) {
code: 'ECONNREFUSED',
[errors]: [
Error: connect ECONNREFUSED ::1:3000
at createConnectionError (node:net:1634:14)
at afterConnectMultiple (node:net:1664:40) {
errno: -61,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 3000
},
Error: connect ECONNREFUSED 127.0.0.1:3000
at createConnectionError (node:net:1634:14)
at afterConnectMultiple (node:net:1664:40) {
errno: -61,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000
}
]
}

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

1 participant