← Foro de Tecnologías .NET

TCP-IP Host name how to configure

Hilo en el foro de Tecnologías .NET · 21 de Noviembre del 2011 · 0 respuestas
Omar Amalfi Camacho21 de Noviembre del 2011
Pregunta
I working on a tcp-ip proyect in my TcpClient proyect I have this code:

TcpClient socketForServer = new TcpClient("localhost", 3600);

And in the TcpServer proyect I have this code:

TcpListener tcpListener = new TcpListener(IPAddress.Any, 3600);

Working on "localhost" there is no problem. But when I execute the TcpClient on another machine outside my network replacing localhost by my IP extern, does not work.

The router redirects all that comes through the port 3600 to my machine.

I dont know what I doing wrong, I need help please.
¿Buscas más hilos como este? Mira el foro de Tecnologías .NET o usa el buscador.