Cant able to connect postgres

What happened?
I actually to connect DataBase which present in our staging server But it is throwing an error

Steps to reproduce the problem:
1.Try to create a datasource by connecting postgresSQL Database
2.Im getting this error [sqleng.connectionError] failed to connect to server - Please try again. If the issue persists please open a support ticket that notes the time in UTC.