I have a service which listens for incoming connections on a TCP\IP port number say 7000. Also my machine is having more than 1 NIC cards and more than 1 IP address.( in other words i am having 2 LANs, LAN and LAN2 and 2 Ips).
Now I have configured my client application(in another machine with only 1 IP) to establish a connection to my server and i give the port number as 7000 and IP to which it must try connecting as IP1 of LAN of the server.
However I notice that the client is unable to make a connection, but when I disable LAN2 I notice that the client is able to make a connection with the server.
What could be wrong?