Hello people,
I developed an application to work in a critical environment. My application has 4 modules:
1. Server
2. Manager
3. Terminal
4. Handheld
All modules connect to the Server module by Tethering. All modules have only 1 Manager and 1 Profile. The modules Manager and Terminal are executed on remote machines, while the Handheld module is executed inside the same machine where the Server module is executed.
The problem I am having is that the Server module starts executing very well and for a while it communicates with the other modules without any problem, but after some time, it starts to refuse connections. Looking through WireShark, I found the message: Destination Unreachable (port unreachable).
To work around this problem, I changed the Windows registry to increase the number of available ports (65535) and to decrease the wait time (30s). Even so, I continued to have problems. My last attempt was to increase the range of ports used by the component. I'm working with 2020-2119 for ManagerPort and 2120-2250 for AvPort. This also did not resolve.
Whenever the Server starts to refuse connection, I am obliged to restart the machine.
I really need your help.