Datagrip connecting to Azure PostgreSQL throwing Connection Reset exception

Answered

I've been trying to connect to my PostGreSQL database for a while. Using other programs like HeidiSQL im able to connect but when i try to connect using datagrip i get the following error:

[08001] The connection attempt failed. java.net.SocketException: Connection reset.

After researching en searching the internet for possible solutions i didnt find anything that helps me. 

Im trying to connect using a jdbc url and have the latest PostgreSQL drivers. 

 

Anyone else running into the same problem?

Please sign in to leave a comment.