arangodb / arangojs

The official ArangoDB JavaScript driver.
https://arangodb.github.io/arangojs
Apache License 2.0
601 stars 107 forks source link

connect ECONNREFUSED error #796

Closed lidaof closed 1 year ago

lidaof commented 1 year ago

Hi Dear arangojs developers,

I am trying to access data in a cloud hosted arangodb instance but get ECONNREFUSED error is there any setting need to be configured to allow external hosts to access the database? CORS? sorry I am new to this....

tested local installed database works fine....

        url: "https://my.cloud.url:8529",
        databaseName: "xxx",
        auth: { username: "xxx", password: "xxx" },
//      url: "http://127.0.0.1:8529",
//      databaseName: "test",
//      auth: { username: "root", password: "" },
});

Thanks in advance!

lidaof commented 1 year ago

sorry, my bad on using the wrong port...