Struggling to connect via publicip:8000

HI ,

I need help. I am new to dgraph and i am trying to install dgraph via ec2 to connect it to create a cluster.

The issue is that i am able to access dgraph via localhost:8000. From there i use my publickey:8080 to connect it. There is no issue for that. I am able to connect it. But when i try to run my publicley:8000 via another browser,I am struggling to get access . I tried to troubleshoot the issue but still no luck.
I stiil dont get any access using my publick key via publickey:8000

Steps i follwed

8000 is not a Dgraph port by default. Dgraph basic cluster has one zero and one alpha process.
You can see the default port at Ports Usage - Deploy

8000 is used by Ratel which is a UI application.
Ratel connects to Dgraph Alpha and has Dgraph Server Connexion configuration panel ( click on the connection URL on the top left of the UI).
I hope that helps else could you clarify the different servers you are setting up?

I tried connection URL from UI (localhost:8000) . i am still getting connection visa 8080 but 8000 is still not connecting .

What is supposed to reply on 8000?
Are you trying yo use Ratel?
have you started the Ratel docker image?

sorry for that . i meant it try to connect to http://publickey:8000 . i am not able to connect it.
Yes i am trying to use ratel and i have started the docker image

what is publickey? Is it a host name you configured? Are you trying to connect to Ratel from another machine? If so, you might have to configure some port forwarding on the docker container so it is accessible from outside your machine.

Yes i am trying to connect to dgraph via my aws ec2. I am getting connection via http://publickey:8080 but not for the http://publickey:8000

now i am able to connect to my http://publickey:8000 but its showing status as connection error. any idea how this can be resolved

Is the ip and port (16.171.110.111:8080) available from the computer from which you’re accessing Ratel?

Try

curl http://16.171.110.111:8080/query

If not, then you need to solve the network access issue to your Dgraph cluster.