cancel
Showing results for 
Search instead for 
Did you mean: 

Application cannot reach the database

SOLVED
Level 2 Adventurer

Application cannot reach the database

Hi ,
My database is on AWS the application is not able to connect database. There is nothing printed in the postgres logs. What could be the problem ?
2 ACCEPTED SOLUTIONS

Accepted Solutions
EDB Team Member

Re: Application cannot reach the database

Hi  kshar,

 

The primary check in this case is to check whether the application port is allowed in the security groups.

Highlighted
EDB Team Member

Re: Application cannot reach the database

Hi kshar,

 

 

https://www.postgresql.org/docs/current/static/runtime-config-logging.html

You will find all the logging parameter details in the link above.

 

Please verify whether your logging collector is on. If you have set all the logging parameters but still your logging collector is set to off then no logging will happen. 

3 REPLIES
EDB Team Member

Re: Application cannot reach the database

Hi  kshar,

 

The primary check in this case is to check whether the application port is allowed in the security groups.

Level 2 Adventurer

Re: Application cannot reach the database

Why the error is not printed in the psotgtes logs ? what extra setting I will have to make incase of enabling logging?
Highlighted
EDB Team Member

Re: Application cannot reach the database

Hi kshar,

 

 

https://www.postgresql.org/docs/current/static/runtime-config-logging.html

You will find all the logging parameter details in the link above.

 

Please verify whether your logging collector is on. If you have set all the logging parameters but still your logging collector is set to off then no logging will happen.