How to configure my server for socket
<p>on local machine this code working but when i use for other machine it does not work.</p>

<pre><code> socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
 PEndPoint localendpoint = new IPEndPoint(IPAddress.Parse("192.168.0.102"), 6001);
            try
            {socket.Connect(localendpoint);}
            catch
            {
                Console.Write("unable");
                Main(args);
            }
            String sms = "i;want;send;data";
            byte[] data = Encoding.ASCII.GetBytes(sms);
            socket.Send(data);
            Console.Read();
            socket.Close();    }
</code></pre>

<p>my server side:</p>

<pre><code> socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
 socket.Bind(new IPEndPoint(IPAddress.Parse("192.168.0.102"),6001));
 socket.Listen(100);
 Socket acepted = socket.Accept();
</code></pre>

<p>Actual i want configure other machine i used this same code with difrent IP but do not find  . other machine IP is 192.168.0.102 how to configure that is located in other place ?</p>
