
I'm learning how to use appwrite and wanted to create a windows application which uses appwrite.
The appwrite server is self hosted locally and I have sucessfully used the auth functions on an Android emulator. I'm using Flutter and Dart to create a Windows version of the app, but I'm unable to actually connect to the appwrite instance.
The following is the endpoint that I'm using (which I'm guessing is the issue):
Can someone help with this?

You're hosting your appwrite instance locally in your computer, I guess?

If so, instead of localhost, you will need to set your computer's local IP address

@D5 Yep doing that but still facing the same isse.

Out of all the adapters listed I'm using the "Wireless LAN adapter Wifi"
Should I use another one as I tried all of them and it didn't work.

The first one is the connection string that I'm using.

@safian_haq What's your appwrite version?

Also, do you can access your appwrite instance by running localhost in your browser or the IP?

Can access the appwrite instance by using localhost in my browser. Also can access appwrite from Android using the 10.0.2.2 IP address.
I had 1.3.8, just upgraded to 1.4.1 today, will share if the issue still persists.

Then you can use localhost

But you need to add it as flutter app in the console

Can you please explain this a little bit or share a link?


Ok turns out, I had not added my Windows platform to application.
-_-
Thanks for the help @Steven and @D5

I see. Great!

[SOLVED] "Connection refused" - Cant connect Windows app with Appwrite

Also for anyone who faces the "semaphore timeout error" in Windows double check your client.endPoint. When self hosting the following address worked for me: "http://localhost:99/v1"
Recommended threads
- Function 404 error - Deployment with the...
I have a function in my Appwrite Cloud (free plan) project that cannot be accessed or deleted (404 in both UI and CLI). I'm stuck at the 5 functions limit and c...
- 1.6 to 1.7 does not work
Appwrite (self-hosted) stopped working after updating from 1.6.2 that was stable. Getting the general_server_error. Mentioning I fallowed all steps for upgrad...
- How to have two Appwrite Instances in Sy...
Hello, I am new to Appwrite. I am currently developing a training app for our sport with a friend and we would like to use Appwrite for this. We would like to d...
