 <p>Ping is used to check if a server is alive. Telnet, normally allows to use the telnet service, but it can be used to check if a port is open (firewall) for remote connections.</p> <p>You should check connectivity from the client</p> <pre><code>telnet db2serverName db2Port </code></pre> <p>For example</p> <pre><code>telnet 192.168.0.1 50000 </code></pre> <p>Once you have checked that the DB2 port is open for your client, you should establish the connection or receive a different error message.</p>