The Heroku dynos do not operate at fixed IP addresses, you cannot use and IP-based restriction with Heroku's dynos.
Here's Heroku's support document detailing how to make a connection to an Amazon RDS instance: https://devcenter.heroku.com/articles/amazon-rds Since you have provided no details on your database itself, I am unable to assist further. I will tell you that you almost surely will get the best performance if your database operates at the same Amazon zone (us-east-1 or eu-west-1) that the Heroku dynos are running in. I would not recommend attempting to make a network call to a remote database that is not co-located (operates in the same location) as the web dynos. -Jason > On Mar 5, 2017, at 2:46 PM, Jiyavudeen Jiya <[email protected]> wrote: > > same pblm for me also ,please give clear solution > > On Monday, July 30, 2012 at 11:55:05 AM UTC+5:30, Alex Tomás wrote: > Hello, > > I'm trying to connect from Keroku to my database server. How I can do? > > I know I have to give permission to my server, but at what IP? > > Thanks > > -- > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en_US?hl=en > <http://groups.google.com/group/heroku?hl=en_US?hl=en> > > --- > You received this message because you are subscribed to the Google Groups > "Heroku Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. ---- Jason Fleetwood-Boldt [email protected] http://www.jasonfleetwoodboldt.com/writing If you'd like to reply by encrypted email you can find my public key on jasonfleetwoodboldt.com <http://jasonfleetwoodboldt.com/> (more about setting GPG: https://gpgtools.org) -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
