Unable to make the web application live on EC2 after importing the image from DockerHub

0

Enter image description here

Enter image description here

Enter image description here

Enter image description here

Enter image description here

Enter image description here

profile picture
preguntada hace un mes85 visualizaciones
1 Respuesta
1
Respuesta aceptada

Hi,

Looks like your source in the port 5000 opening is for a source security group sg-0f44xxxxx, not from internet.

You'll need to add 0.0.0.0/0 as source, or your current ip if you only want it open for that ip.

Your current opening in SG only allows instances that are within that security group, to connect to the port.

xanthic
respondido hace un mes
profile picture
EXPERTO
revisado hace 25 días
  • I need to open to the internet. How to do.

  • I still needed to run the pulled image. Here is how I tried but getting this message: Last login: Tue May 7 10:36:18 2024 from 13.233.177.4 ubuntu@ip-172-31-37-36:~$ docker run -d --name my-rajeev-container digitalsplendid/rajeev:latest docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=my-rajeev-container": dial unix /var/run/docker.sock: connect: permission denied.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas