EXTERNAL DATABASE

0
Working fine in localhost. When deployed to cloud below error is throwing. Please assist on this. Connector: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: org.postgresql.util.PSQLException: Connection to corpmendixpsqld1.cluster-cbcnpoyntsu7.us-east-1.rds.amazonaws.com:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
asked
3 answers
1

Hi Vamasi,

Check your hostname and port once,

Please try port number 5433 once. As this is the default port number.

 

Hope this helps!!

answered
1

Hello Vamsi,
It may be because of firewall setting at cloud end. 
It is not allowing your application to connect with cloud instance.
Check the firewall settings.

answered
0

Hi Vamsi,

 

When you check your postgress Connection settings (right mouseclick → properties) you will find the settings for your connection.

 

 

 

make sure it is set to 5432, like it is above.

 

In Mendix, just connect to the postgress server 

 

in your case; replace ‘localhost:5432’ with corpmendixpsqld1.cluster-cbcnpoyntsu7.us-east-1.rds.amazonaws.com:5432

 

Hope this will get you going,

good luck,

Jan

 

 

answered