It's not possible in general, but if you just need those two, it might be possible with some code modifications.
Could you please explain how can i update the source code (which file to take a look) to use the same port for 2 protocols?
It's not a simple change. You need to have a deep understanding of how Netty works.
I've a developer background, I think I can do it but should be a good idea to know where can start because there are a lot of files to check
I would recommend to start with Netty documentation:
Then you can take a look at corresponding protocol and protocol decoder classes in Traccar.
Dear All,
i uses 2 different device/protocol (teltonika and gt06).
I would like to use a same port (Ex 5555) for both protocol.
If i puts the same port for the different protocols, the system shows a error because i think have sees a port conflict.
Is possible updating the code to use a same port to manage 2 different device/protocol?
Thanks in advance.
Antonio