Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
duongthuan
New Member

Error when trying to connect to IBM DB2

I'm getting an error when trying to connect to our IBM DB2 database.  I removed the IP in the error below.  Anyone have any ideas? I don't see anywhere to enter a port number if we need to.

 

Details: "IBM DB2: ERROR [08001] [IBM] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "IP removed". Communication function detecting the error: "connect". Protocol specific error code(s): "10061", "*", "*". SQLSTATE=08001"

1 REPLY 1
Anonymous
Not applicable

@duongthuan

Are you able to connect to the IBM DB2 database from IBM DB2 client? Please make sure that the client is installed in the same machine with Power BI Desktop.

Moreover, based on my research, the above error could occur when DB2 server's firewall preventing communication from remote (application server) device, please follow the guide in the blog below to troubleshoot this problem.
http://www-01.ibm.com/support/docview.wss?uid=swg21503305

Regards,
Lydia

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.