Problem while connecting problem with a host program

Hi,
I have setup two client-server programs in two different desktop computer with same configuration and OS. But I am facing problem while trying to connect the host machine and encountered with an error message like:
Cannot connect to host *********: No connection could be made because the target machine actively refused it.
Can anyone help me to solve this problem?
