Multiple clients connection to mqtt server

hansju22
Wed, 16 Apr 2025 11:38:39 +0000
MQTT

I have one application in ttn and 3 mqtt clients at the same time, which will connect to this server. All use the same credentional. ( I set it up under mqtt integration).
The first client works well. If the second and third client start to connect it will not work.
I can see in the wireshark trace, that the second client get a TCP connection and send in the mqtt protocol the connect command. But the ttn send an rst flag at TCP level.
If I change the second client to be the first it works.
I have 3 different server in my network. So that is the reason for 3 different clients. Because of the NAT ttn will see 3 different connection from the same public ip. Is this a problem? Or is there a limint of only one client connection to mqtt server? Can I setup different user / pwd for my clients in one application. In the Web Console ist looks like it is not passible.

Kinde regards
Hans-Jürgen

2 posts - 2 participants