iReport to DB2 connection ERRORCODE=-4499, SQLSTATE=08001

Yebach picture Yebach · May 25, 2012 · Viewed 13.1k times · Source

I am using Jasper iReport. When I try to connect to IBM DB2 I get an error: "Permission denied: ERRORCODE=-4499, SQLSTATE=08001"

I am using the same driver to connect as Razor which I also use and there it works ok (same settings, username, password, etc).

This problem started to occur lately.

Any suggestions?

Thank you

Answer

Amit Bhatnagar picture Amit Bhatnagar · Jun 21, 2013

Please make sure that any firewalls and/or proxy servers in between have been configured to let your requests through. We had a similar error & it turned out to be that the firewall between our appserver & db2 did not have the required port open.