Rank 2: Process
I am running it locally with docker on my PC
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
I am running it locally with docker on my PC
Rank 4: Virtual Machine
You need to use your local IP then 🙂
Rank 2: Process
that is why i can access the console with this http://localhost:300/
Rank 2: Process
ok
Rank 2: Process
I will try this as my end point now, http://192.168.1.[*]:300/v1 right?
Rank 4: Virtual Machine
Yess, but do check your complete IP though, I just used [*] for explanation.
Rank 2: Process
sure
Rank 2: Process
it didn't work, i still get the same error
Rank 4: Virtual Machine
can you post the complete error, ip, port and the endpoint used in the android project?
Rank 2: Process
sure
Rank 2: Process
error
Rank 2: Process
appwriteEndpoint="192.1*8.6.*:300/v1" endpoint
Rank 2: Process
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
Rank 2: Process
Rank 2: Process
@darShan
Admin
this specific error is occurring because you never called client.setEndpoint() on your Client instance
Rank 2: Process
I corrected that.
Rank 2: Process
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
Rank 2: Process
@Steven
Admin
http://192.168.6.134:300/v1)?Rank 2: Process
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
Admin
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
Rank 2: Process
Thanks. I worked my way around it.
Rank 2: Process
I had to enter my IP address as the localhost instead of the default while pulling Appwrite image
Rank 2: Process
[SOLVED]SocketTimeoutException: