1

I installed flask on my AWS EC2 machine.

now, from a local machine, the website is supposed to load with localhost and port 5000 but it is not working similarly with http::5000

I tried to add a rule in Security groups as : All TCP, 0.0.0.0/0 -- I am not sure how to allow in-bound traffic to this box.

any help will be appreciated.

Thanks !

3
  • link1 link2 explore these links..you will do it eventually. Commented Sep 19, 2014 at 9:39
  • 1
    when you say localhost is that what your flask app in bound too? You may want to 0.0.0.0 Commented Sep 19, 2014 at 11:51
  • when you add rules to your security group you can add them in outbound and in inbound. try adding an inbound rule to http on port 5000 accessible from all IPs. Commented Feb 21, 2015 at 19:56

1 Answer 1

1

I had trouble with this. Until I tried adding an inbound custom tcp rule to my security group associated with the running instance.

Something like:

Custom TCP Rule, Protocol: TCP, Port Range: 5000, Source: 0.0.0.0/0

Custom TCP Rule, Protocol: TCP, Port Range: 5000, Source: ::/0
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.