'minus one error when trying to connect to database with Oracle SQL Developer

I'm trying to connect to a Postgres DB using Oracle SQL Developer. This is the datasource URL I see in an application which uses the DB:

jdbc:postgresql://10.11.12.13:5432/mydb?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory&sslmode=require

I have the correct username and password but when I try to connect I get:

Status : Failure -Test failed: IO Error: got minus one from a read call

I think this is because I don't have a SID or Service name populated. How can I find what these are?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source