Back

Can't send request through local hosting: [AppwriteException: Network request failed]

  • 0
  • Self Hosted
funf
15 Jun, 2024, 10:13

const client = new Client();

client .setEndpoint(http://localhost/v1) .setProject(666c330a001dc6bf675b)

I use it like this but although I can access through cloud i cannot use with my local server, i can login to the console on my brower and set it up but react app doesnt work

TL;DR
Developers are encountering an AppwriteException when trying to send a request through local hosting. The issue might be related to how the Client SDK is being utilized. While access through the cloud works, the local server setup is not functioning correctly for the React app. Double-check the Client SDK implementation for local hosting.
funf
15 Jun, 2024, 10:16
darShan
15 Jun, 2024, 10:43

how are you using the Client SDK? On a Mobile App or a Web App?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more