I need to develop something like a tcp chat in which 2 clients will connect. Everything works on the local network, but after I put it on the host, I can't connect to my tcplistener
public class CarHub
{
{
public TcpListener tcpListener = new TcpListener(IPAddress.Any, 5000);
public List<ClientObject> clients = new List<ClientObject>();
}
}
Tried to put instead IpAddress.Any ipadress my host. But it didn't work out
}