I wrote the server and the client in C #, I use the standard HttpListener , everything works fine on localhost , but I just can’t push it to the Internet.

I registered in no-ip , downloaded DUC and turned it on, I try to run it on this address:

 listener.Prefixes.Add("http://" + "выданный DUC адрес " + ":801/"); 

but I get the error:

httplistenerexeption - "The network folder is unavailable.".

  • Most likely you are sitting behind a router / nat, and the ports are not forwarding. - KoVadim
  • tell me how to do it? - Oleg
  • one
    The solution to this problem strongly depends on your current configuration - the availability of routers, their models, and the features of the provider. Without knowledge of the structure of the network, giving some advice does not make sense. - KoVadim
  • The router is, TP Link, DDNS from no-ip turned on there. Well, how can you send, or give a link where to read, where and how are ports normally transferred? - Oleg
  • one
    But locally everything works (within the network of the router), the server is working, what can be? eat from the outside already sees that the server is, progress, but now it is, I also thought so, but he would not work locally. - Oleg Morozov

0