
I am running it locally with docker on my PC

You need to use your local IP then 🙂

that is why i can access the console with this http://localhost:300/

ok

I will try this as my end point now, http://192.168.1.[*]:300/v1
right?

Yess, but do check your complete IP though, I just used [*]
for explanation.

sure

it didn't work, i still get the same error

can you post the complete error, ip, port and the endpoint used in the android project?

sure

error

appwriteEndpoint="192.1*8.6.*:300/v1"
endpoint

port
ports:
- 300:80
- 444:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- appwrite-config:/storage/config:ro
- appwrite-certificates:/storage/certificates:ro
depends_on:
- appwrite
networks:
- gateway
- appwrite


@darShan

this specific error is occurring because you never called client.setEndpoint()
on your Client instance

I corrected that.

but now I am having the first error from few days ago.
java.net.SocketTimeoutException: failed to connect to /192.1*8.6.** (port 300) from /192.1*8.6.1*4 (port 57562) after 10000ms

@Steven

- Did you include the scheme as part of the endpoint (
http://192.168.6.134:300/v1
)? - Can you browse to the same URL on your PC?
- Is your phone on the same network as your PC?
- Can you browse the same URL on your phone?

anwering Q1. Yes I did. this format http://192.168.6.134:300/v1)
Q2, No, unless i use localhost:300
. I am unable to browse with this http://192.168.6.134:300/v1
Q3. No but i tried connecting them on the same network as well, but i got the same error.
Q4. I will try that now

If the IP address doesn't even work on your PC, there's no way it will work from a different device.
You might have a docker problem, firewall problem, or antivirus problem

Thanks. I worked my way around it.

I had to enter my IP address as the localhost instead of the default while pulling Appwrite image

[SOLVED]SocketTimeoutException:
Recommended threads
- Document Data is null.
I'm using flutter and I've just got everything set up, the document meta data is null but the actual query is fine. (see screenshot) The permission I have ar...
- Flutter native Google Sign Up with googl...
Hey I want to use the native login instead of the WebView. Do you have any experience on that and has Appwrite to plan this support?
- Error: Invalid `userId` param: Parameter...
