Closed Naor-D closed 9 years ago
@TheMan654 please download and run the Open.NAT.ConsoleTest project. After that, you will find the network.log log file (in the Output Directory) with absolutly all the information needed for diagnostic. Please, do that and review the log file, or send it to me.
Thanks for the help, and for the fast response! I managed to fix my problem, it was that I wrote: NatDevice natDevice = await natDiscover.DiscoverDeviceAsync();
Instead of: NatDevice natDevice = await natDiscover.DiscoverDeviceAsync(PortMapper.Upnp, cts);
Also thank you for the library, it really helped me a lot in my project.
Forgive me if this is a total beginner's question, but I wrote the following piece of code:
The goal of this function is simply to forward port 53100.
I'm calling ForwardPorts() from my main function, but I get an exception: "An existing connection was forcibly closed by the remote host", do you have any idea how I can fix this or what am I doing wrong? I would really appreciate the help, thanks in advance.