Getting error when trying to use arangodb

(node:3464) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

(node:3464) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

(node:3464) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`

how do i fix it

You are not connecting to the server you are connecting to local host.

that was intended, why is that bad

Because it’s not connected to the database

well then how do i connect it

I don’t think glitch uses that port

Find the IP address of the database

If that doesn’t work please send me a message with a link to edit the project?