Back

Self-Hosted Appwrite not working on EC2

  • 0
  • Self Hosted
Tanmay Juneja
26 Dec, 2023, 10:56

Please help me with one more thing:- I've recently hosted Appwrite on AWS EC2, and I cannot open Appwrite through the public IPv4 address. I'm getting "Appwrite installed successfully" in the terminal, and the terminal is also working fine, but the address is not loading on browser. What can I do in this case?

TL;DR
User is experiencing issues accessing their self-hosted Appwrite on EC2. They are seeing the error "This site can’t be reached" and "ERR_CONNECTION_TIMED_OUT" when trying to access the public IPv4 address. They suspect the firewall may be blocking access. They are seeking help in setting up the Appwrite on EC2 and resolving the issue. Solution: It is recommended to check the firewall settings and make sure the http/https ports are allowed. Additionally, referring to the AWS documentation for more information on setting up EC2 instances can be helpful.
Tanmay Juneja
26 Dec, 2023, 10:56

@D5 Tagging you here as requested in other support ticket

Ernest
26 Dec, 2023, 11:42

I'm not experienced with AWS but don't you have to set up any Firewall rule to allow access to those ports?

Tanmay Juneja
26 Dec, 2023, 11:52

I'm not sure about this. Can you pls help me set it up if possible?

D5
26 Dec, 2023, 12:36

What do you get while accessing the IP in the browser?

Tanmay Juneja
26 Dec, 2023, 13:01

It keeps on loading for a while, then finally shows this.

This site can’t be reached <AWS_EC2_PUBLIC_IPv4> took too long to respond. Try:

Checking the connection Checking the proxy and the firewall ERR_CONNECTION_TIMED_OUT

Tanmay Juneja
26 Dec, 2023, 13:01

I open the public IPv4 address of the EC2 console.

D5
26 Dec, 2023, 13:09

Definitely firewall is blocking. You should allow the http/https ports

D5
26 Dec, 2023, 13:10

I never used EC2 so I cannot give you exact steps, but probably in the AWS docs there's more info

Tanmay Juneja
26 Dec, 2023, 15:19

Understood. Will take a look, thanks!

ideclon
26 Dec, 2023, 16:17

Yeah, been a while since I used EC2, but I remember being very baffled when I set up my first EC2 instance, because nothing could reach it!

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