Postgres and SQL code generation.Cannot connect to database

Hi everybody. I have a problem trying to generate the SQL code from the ER model. When I configure the connection to the DBMS and try to test the connection I get the following message:

Cannot connect to database.
v.ikai: Connection timeout!
at v.ilwn.i(:62)
at v.fqky.i(:399)
at v.nzr.actionPerformed(:371)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

I am using PostgreSQL 9.0.4 and the connector postgresql-9.0-801.jdbc4. Before I tried using an older version of both things but I got the same error message, that is what I decided to upgrade them.

By the way, I am using Database Visual Architect from the Visual Paradigm Suite 4.1 SP1 (build 20091209).

Please help me.

Thanks in advance.

According to the exception message it seems the problem is VP cannot connect to your database. Are you sure the connection setting you specified is correct?

Best regards,
Rain