title: AWS RDS SQL database works on localhost -- throws error from server
body: <p>I am creating an API that calls a SQL Express database hosted on AWS RDS. When I hit an endpoint on my localhost, everything works perfectly and data is returned. I can also connect via SSMS using the same connection string from my desktop</p>
  <p>However, after I deploy the API to Elastic Beanstalk and then call the same endpoint, I get this error:</p>
  <blockquote>
  <p>A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)</p>
  </blockquote>
  <p>The instance class is set to db.t3.small.</p>
  <p>From reading around, it looks like I need to somehow open port 1430 on the elastic beanstalk site. But I have no idea how to do that.</p>