
I am creating a cloud function with my local instance of Appwrite, now when I try to instantiate the client within the function using the url(http://localhost/v1 or http://127.0.0.1) I get the following error:
Error: connect ECONNREFUSED 127.0.0.1:80
at Client.call (/usr/local/server/src/function/node_modules/node-appwrite/lib/client.js:180:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Databases.updateDocument (/usr/local/server/src/function/node_modules/node-appwrite/lib/services/databases.js:1772:16)
at async Module.default (file:///usr/local/server/src/function/index.js:15:26)
at async execute (/usr/local/server/src/server.js:141:22)
at async /usr/local/server/src/server.js:158:13
Anyone know how I can ressolve this?

Ok, managed to figure it out. We should use the private IP address when using local instances of Appwrite
Recommended threads
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
