How to connect to the database that is running on different system

I am very new to Travis and I have an IBM database running on my desktop and I have created a small program to access that database. In the connection string, I have given my Ip address so that it will connect to my database which is running in my desktop. But I got a communication error, then I tried to ping my Ip Address and found that it is not connecting to my IP Address at all.

Any Ideas on how to solve it?