# New connection to a DB2 database.

**URL:** <https://forums.toadworld.com/t/new-connection-to-a-db2-database/31766>\
**Category:** Toad for IBM DB2\
**Created:** [November 18, 2014, 9:18am UTC](https://forums.toadworld.com/t/new-connection-to-a-db2-database/31766 "2014-11-18T09:18:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zaida\_Alvarado](https://avatars.discourse-cdn.com/v4/letter/z/e36b37/32.png) [@Zaida\_Alvarado](https://forums.toadworld.com/u/Zaida_Alvarado)\
**Post date:** [November 18, 2014, 9:18am UTC](https://forums.toadworld.com/t/new-connection-to-a-db2-database/31766/1 "2014-11-18T09:18:16Z")

</div>

I need help I am new to the world of DB2, but I’m trying to make a new connection to the DB2 database we use.  
The database is on a server and installed the Toad for DB2 on my laptop.

What do I need? … Just put the toad installed the server, port and also the database and does not connect me. send me the following error.

“”""""""“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: “10.5.171.68”. Communication function detecting the error: “selectForConnectTimeout”. Protocol specific error code(s): “0”, “_", "_”. SQLSTATE=08001"”""""""

---

<div class="post-metadata">

**Author:** ![Jeff\_Podlasek](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jeff_podlasek/32/29_2.png) [@Jeff\_Podlasek](https://forums.toadworld.com/u/Jeff_Podlasek)\
**Post date:** [November 19, 2014, 7:33am UTC](https://forums.toadworld.com/t/new-connection-to-a-db2-database/31766/2 "2014-11-19T07:33:37Z")

</div>

Maybe you have not cataloged the database correctly…or communicating from your client to your DB server is taking a long time.

What version of Toad for DB2 are you running?

You might try to open the IBM DB2 Command Line Processor (CLP) (From Start - All Programs) - for the DB2COPY that is used by Toad.

Then type:list database directory

That will indicate if you have any databases cataloged.

If you see the database then try connecting to that inside the CLP.

Via: connect to db user using password

If you think it is the correct IP address and DB information - run a ping or tracert to see if communication to the DB server is network bound
