Problem while connecting to a remote computer using TcpClient.Connect()
When I try to connect to a remote computer using TcpClient.Connect(), I receive a SocketException with the following error:
a connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because connected host has failed to respond.
It works fine when I use it in a LAN or try to connect to the same computer. But when I try to connect to another computer on the Internet, this exception is thrown.
Any advice?!

