Connection Timed Out

Just uploaded my bot to a vps after rewriting it entirely in ts. Not a single issue locally but now on the vps I get this error.
/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:190
util.destroy(socket, new ConnectTimeoutError(message))
^
ConnectTimeoutError: Connect Timeout Error (attempted addresses: 162.159.137.232:443)
at onConnectTimeout (/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:190:24)
at /root/Sailor-Moon/node_modules/undici/lib/core/connect.js:133:46
at Immediate._onImmediate (/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:174:9)
at processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
[nodemon] app crashed - waiting for file changes before starting...
/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:190
util.destroy(socket, new ConnectTimeoutError(message))
^
ConnectTimeoutError: Connect Timeout Error (attempted addresses: 162.159.137.232:443)
at onConnectTimeout (/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:190:24)
at /root/Sailor-Moon/node_modules/undici/lib/core/connect.js:133:46
at Immediate._onImmediate (/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:174:9)
at processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
[nodemon] app crashed - waiting for file changes before starting...
1 Reply
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP