Mqtt nodes not connecting

And I'll have a look at these pages, thanks

Try also this command to see your open ports;
sudo lsof -i -P -n | grep LISTEN

In my RPi it looks like below. Port 1883 in use on IPv4 and IPv6

rpcbind    336      root    8u  IPv4  14644      0t0  TCP *:111 (LISTEN)
rpcbind    336      root   11u  IPv6  14647      0t0  TCP *:111 (LISTEN)
node       360        pi   21u  IPv4  24325      0t0  TCP *:1880 (LISTEN)
owhttpd    539 Debian-ow   13u  IPv4  17308      0t0  TCP *:2121 (LISTEN)
vncserver  563      root   10u  IPv6  19745      0t0  TCP *:5900 (LISTEN)
vncserver  563      root   11u  IPv4  19746      0t0  TCP *:5900 (LISTEN)
sshd       615      root    3u  IPv4  19617      0t0  TCP *:22 (LISTEN)
sshd       615      root    4u  IPv6  19619      0t0  TCP *:22 (LISTEN)
smbd      1325      root   32u  IPv6  26671      0t0  TCP *:445 (LISTEN)
smbd      1325      root   33u  IPv6  26672      0t0  TCP *:139 (LISTEN)
smbd      1325      root   34u  IPv4  26673      0t0  TCP *:445 (LISTEN)
smbd      1325      root   35u  IPv4  26674      0t0  TCP *:139 (LISTEN)
mosquitto 7665 mosquitto    5u  IPv4 147522      0t0  TCP *:1883 (LISTEN)
mosquitto 7665 mosquitto    6u  IPv6 147523      0t0  TCP *:1883 (LISTEN)

Do you have multiple client nodes trying to use the same id ? usually it is easiest to leave them blank at let it assign a random one

so this are 2 Server?
on the post where you show the Server Properties would it help to use the real IP Address and not localhost?
And on the MQTT-Noder could you just add a Debug-node -maybe there will be a feedback.
have a nice day
vinc

many ports:
systemd-r 619 systemd-resolve 13u IPv4 15561 0t0 TCP 127.0.0.53:53 (LISTEN)
mysqld 693 mysql 30u IPv4 140362 0t0 TCP 127.0.0.1:3306 (LISTEN)
sshd 998 root 3u IPv4 19502 0t0 TCP *:22 (LISTEN)
sshd 998 root 4u IPv6 19513 0t0 TCP *:22 (LISTEN)
apache2 4265 www-data 4u IPv6 7101260 0t0 TCP *:80 (LISTEN)
apache2 4265 www-data 6u IPv6 7101264 0t0 TCP *:443 (LISTEN)
apache2 4266 www-data 4u IPv6 7101260 0t0 TCP *:80 (LISTEN)
apache2 4266 www-data 6u IPv6 7101264 0t0 TCP *:443 (LISTEN)
apache2 4267 www-data 4u IPv6 7101260 0t0 TCP *:80 (LISTEN)
apache2 4267 www-data 6u IPv6 7101264 0t0 TCP *:443 (LISTEN)
apache2 4268 www-data 4u IPv6 7101260 0t0 TCP *:80 (LISTEN)
apache2 4268 www-data 6u IPv6 7101264 0t0 TCP *:443 (LISTEN)
apache2 4269 www-data 4u IPv6 7101260 0t0 TCP *:80 (LISTEN)
apache2 4269 www-data 6u IPv6 7101264 0t0 TCP *:443 (LISTEN)
apache2 6465 www-data 4u IPv6 7101260 0t0 TCP *:80 (LISTEN)
apache2 6465 www-data 6u IPv6 7101264 0t0 TCP *:443 (LISTEN)
apache2 11948 www-data 4u IPv6 7101260 0t0 TCP *:80 (LISTEN)
apache2 11948 www-data 6u IPv6 7101264 0t0 TCP *:443 (LISTEN)
node-red 14235 root 13u IPv4 21797973 0t0 TCP *:1880 (LISTEN)
apache2 23823 root 4u IPv6 7101260 0t0 TCP *:80 (LISTEN)
apache2 23823 root 6u IPv6 7101264 0t0 TCP *:443 (LISTEN)
mosquitto 23892 mosquitto 3u IPv4 15662379 0t0 TCP 127.0.0.1:1883 (LISTEN)
mosquitto 23892 mosquitto 4u IPv4 15662382 0t0 TCP *:8883 (LISTEN)
mosquitto 23892 mosquitto 5u IPv6 15662383 0t0 TCP *:8883 (LISTEN)

Hi all! Finally I changed in the mosquitto broker.conf file, in the certificates section, in the cafile line, chain.pem with fullchain.pem, I restarted mosquitto and it worked!
I guess I had an obsolete indication...
Thanks to all of you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.