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
질문됨 한 달 전85회 조회
1개 답변
1
수락된 답변

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
답변함 한 달 전
profile picture
전문가
검토됨 25일 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠