I use the following Schemaspy to connect to one postgreSQL DB successfully. But when I connect to another DB, it reports error "failed to connect to database URL [jdbc....]"
java -jar schemaSpy.jar -t pgsql -db erp -host 122.5.XX.XX -port 2345 -u olive -p zhy -o dbschema -dp postgresql-9.4-1201.jdbc41.jar -s public
I am not postgreSQL expert. The host IP address could be pinged, and I could use pgadmin to connect to the DB.
Is there any postgreSQL setting I need to pay attention for the DB so that it could be connected by schemaspy? or any special port I need to open?
Thanks.