Unable to Access Airflow login from EC2 instance

0

I have created EC2 instance then install apache-airflow inside that after starting airflow i got ip to login then i added All traffic in Security then try to open on public ip with :8080 to login airflow i am not able to access.

This site can’t be reached10.123.12.123:8080 took too long to respond.

1개 답변
0

Hello.

The IP address "10.123.12.123" is usually a private IP address, so I don't think you can connect globally from a browser etc.
You need to set a public IP address to access EC2 globally.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses

Also, the subnet where EC2 is running must be set to a public subnet.
In other words, you need to set a route to the Internet gateway in the subnet's route table.
https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html#subnet-types

profile picture
전문가
답변함 2달 전
  • my instance have public IP DNS. ec2-13-233-146-138.ap-south-1.compute.amazonaws.com so when i am try to reach on that unable to connect i also changed the security inbounds.

  • Have you also checked the route table of the subnet where EC2 is running? Also, is your application listening on port "8080" on your EC2? For example, you can check the process using port 8080 by running the following command.

    sudo lsof -i:8080
    
  • If you are Free then Connect with me on www.linkedin.com/in/ojharitesh

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

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

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

관련 콘텐츠