simple i want one single protocol run on multi ports for example teletonika 20050 to 20060?
Is there any question?
It's not possible to use multiple ports for the same protocol, but I also don't see any good reason to do that.
what is solution for 1000 devices send data on every event, but mostly devices not make successful with traccar,
when i restart traccar service, then these devices update data.
and server load under the control
Using multiple ports definitely won't solve that problem. I would recommend reading this:
it work for me i use two ports in one protocol and work fine
Jack, what problem does it solve? Of course it could work, but the same way a single port would work as well.
I was have many devices already configurd on port and have many other configured on defferent port when i was using other platform
so when i need to make it run on traccar instad of change the device configuration i just use the two ports.
This is easily solved on the OS level without any code modifications required. You can map multiple external ports to one internal.
sorry i didnt understand what you mean
could you please explain me what you mean, thanks.
If I understand it correctly, the original ask was to support multiple ports for the same protocol directly in Traccar. The justification was that it will somehow improve device communication, which is obviously incorrect.
What you're talking now is using multiple ports just so you don't need to reconfigure devices. That's a completely different use case. It is valid in general, but it does not require changes in Traccar itself. Instead the more appropriate solution would be to configure port mapping in the operating system.
Traccar server not serve one protocol all devices same ports