Unable to access chronograf UI running on EC2 instance port 8888 in a docker container

78 views Asked by At

I started Chronograf on an EC2 instance on port 8888. My EC2 instance is running Ubuntu. When I ssh into the instance and do

curl <my_ec2_public_DNS>:8888

I get a valid response.

Now when I try to go the URL http://<my_ec2_public_DNS>:8888 from a browser on my computer, my request always times out. I am able to ping <my_ec2_public_DNS> from my computer.

My EC2 security inbound rules are as follows:

enter image description here

Please help.

Edit 1: I am running chronograf in a docker container.

chronograf:
    image: chronograf:latest
    volumes:
      - ./my_dir/data/:/var/lib/chronograf/
    ports:
      - "8888:8888"
    depends_on:
      - influxdb
0

There are 0 answers