SyntaxFix
Write A Post
Hire A Developer
Questions
The error I was experiencing was that my database network settings allowed outbound traffic to the web – but inbound only from select IP addresses.
I added an inbound rule to allow traffic from my ec2's private IP and it worked.