discordjs / RPC

A simple RPC client for Discord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when attempting to run example from my linux VPS

Peter-MJ-Parker opened this issue · comments

I can run the same code when running from my local windows PC but when I try to run it on my server, it crashes with the following error. (I did edit the code here ). Anyone know why the RPC cannot connect when ran from a server?
I just want to run the code all the time without my PC being on.

Error: Could not connect
    at Socket.onerror (/home/marv1/apps/RPC/src/transports/ipc.js:32:16)
    at Object.onceWrapper (node:events:628:26)
    at Socket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)