Hi Himanshu - I'll move this to General Computing, as it seems a better fit there. If you are getting some error information back from the connection attempts, why not post them in a message here? There are all sorts of things that can go wrong between two processes trying to connect. While we've all experienced the kind of problem you're having now, it's impossible to know what to advise without a little more background information.
Make visible what, without you, might perhaps never have been seen. - Robert Bresson
Why fit in when you were born to stand out? - Seuss. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop