
Hi,
Im triying to execute a standart function. I recive this Error:
Error: connect ECONNREFUSED xx.xx.xx.xx:443 at Client.call (/usr/code-start/node_modules/node-appwrite/lib/client.js:178:23) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Users.list (/usr/code-start/node_modules/node-appwrite/lib/services/users.js:40:16) at async module.exports (/usr/code-start/src/index.js:61:14) at async /usr/local/src/server.js:68:13
This error occured, after if I use this code-snipped: const user = await users.list();
Any idea?

that is my index.js

Have you added your server ip as environment variables with https?


i tried this in appwrite frontend

I put also the IP as hostname

for the Enviroment variables i put the endpoint with https and /v1 in the end

like this https://sub.domain.de/v1


Yep. That's looks good

but its not working, same error

problem solved: I used local IP like 192.168.x.x

[SOLVED] Error: connect ECONNREFUSED (Functions)
Recommended threads
- Having errors migrating to cloud
Project will not migrate compeltely
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
