Dgraph-ratel unable to connect to dgraph server in the AWS EC2

I installed dgraph in AWS EC2 instance. But I try to connect the ratel. Seem like the connection is not successful.

It shows “invalid status code = 404”. Default credential for groot is not working (password = password).

The security group of EC2 has been added an inbound rule for listening 8000:

Version info

Dgraph version : v20.11.2
Dgraph codename : tchalla-2
Dgraph SHA-256 : 0153cb8d3941ad5ad107e395b347e8d930a0b4ead6f4524521f7a525a9699167
Commit SHA-1 : 94f3a0430
Commit timestamp : 2021-02-23 13:07:17 +0530
Branch : HEAD
Go version : go1.15.5
jemalloc enabled : true

The port is wrong. 8000 is just for Ratel, the 8080 is the Dgraph’s API.

1 Like

Thank you so much @MichelDiz It is working!!

1 Like