2 TCP sockets open at the same time?

Hello
Is it possible to have two simultaneous TCP sockets open at the same time, and connected to the same IP address, just on different ports?
The idea behind this is that when a remote device exhibits a strange behaviour, the second port would log some debug information. in normal functionment, the debug server wouldn’t exist, so that the GR module couldn’t connect , therefore knowing this it wouldn’t even try to send the debug data.

If this was possible, what is the correct procedure in regards to PDP contexts, internet accounts, TCP sockets…

Thanks for your help,
best regards,
Roland