Score:0

Calling API from Https website to AWS

mr flag

I have a website with https consider https://example.com which wants to call an API from an AWS EC2 instance consider http://ec2.##.##.##/get-users. I am getting Connection Refused when I do so but in POSTMAN it is working fine. Is this an issue with my AWS Security Group? and How to solve it?

in flag
Hi Rajat, please add more details. Where are you running Postman from? What are your security groups allowing and from where? etc.
Tim avatar
gp flag
Tim
This should work fine. The problem could be security groups, NACLs, routing, internet gateway, something on-instance, or something else. We would need a _lot_ more information to work out what the problem.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.