Hi,
I just installed Mosquito via dietpi-software but cannot see it on port 1883.
I can see it is running using htop.
Is there anything obvious I should be checking?
edit: Typo
Hi,
I just installed Mosquito via dietpi-software but cannot see it on port 1883.
I can see it is running using htop.
Is there anything obvious I should be checking?
edit: Typo
ss -tulpn | grep LISTEN tells me that Mosquito is listening on 1883.
ss -tulpn | grep LISTEN
tcp LISTEN 0 128 127.0.0.1:34609 0.0.0.0:* users:(("hass",pid=10344,fd=34))
tcp LISTEN 0 5 0.0.0.0:8181 0.0.0.0:* users:(("python3",pid=10328,fd=8))
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=509,fd=3))
tcp LISTEN 0 256 127.0.0.1:5335 0.0.0.0:* users:(("unbound",pid=514,fd=4))
tcp LISTEN 0 256 127.0.0.1:8953 0.0.0.0:* users:(("unbound",pid=514,fd=6))
tcp LISTEN 0 128 0.0.0.0:8123 0.0.0.0:* users:(("hass",pid=10344,fd=27))
tcp LISTEN 0 100 0.0.0.0:1883 0.0.0.0:* users:(("mosquitto",pid=10336,fd=4))
tcp LISTEN 0 4096 *:8083 *:* users:(("AdGuardHome",pid=453,fd=12))
tcp LISTEN 0 4096 *:53 *:* users:(("AdGuardHome",pid=453,fd=15))
tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=509,fd=4))
tcp LISTEN 0 256 [::1]:8953 [::]:* users:(("unbound",pid=514,fd=5))
tcp LISTEN 0 128 [::]:8123 [::]:* users:(("hass",pid=10344,fd=28))
tcp LISTEN 0 100 [::]:1883 [::]:* users:(("mosquitto",pid=10336,fd=5))
and my logs seem to show it is OK…
Apr 16 19:25:30 DietPi systemd[1]: Starting Mosquitto MQTT Broker (DietPi)...
Apr 16 19:25:30 DietPi mosquitto[10336]: 1650133530: mosquitto version 2.0.11 starting
Apr 16 19:25:30 DietPi mosquitto[10336]: 1650133530: Config loaded from /etc/mosquitto/mosquitto.conf.
Apr 16 19:25:30 DietPi mosquitto[10336]: 1650133530: Opening ipv4 listen socket on port 1883.
Apr 16 19:25:30 DietPi mosquitto[10336]: 1650133530: Opening ipv6 listen socket on port 1883.
Apr 16 19:25:30 DietPi mosquitto[10336]: 1650133530: mosquitto version 2.0.11 running
Apr 16 19:25:30 DietPi systemd[1]: Started Mosquitto MQTT Broker (DietPi).
OK, I get this in the logs after trying to browse to :81113
Apr 16 19:35:43 DietPi mosquitto[10336]: 1650134143: New connection from 192.168.1.61:58999 on port 1883.
Apr 16 19:35:43 DietPi mosquitto[10336]: 1650134143: Client <unknown> disconnected due to protocol error.
Apr 16 19:35:43 DietPi mosquitto[10336]: 1650134143: New connection from 192.168.1.61:59000 on port 1883.
Apr 16 19:35:43 DietPi mosquitto[10336]: 1650134143: Client <unknown> disconnected due to protocol error.
Apr 16 19:35:43 DietPi mosquitto[10336]: 1650134143: New connection from 192.168.1.61:59001 on port 1883.
Apr 16 19:35:43 DietPi mosquitto[10336]: 1650134143: Client <unknown> disconnected due to protocol error.
Apr 16 19:36:49 DietPi mosquitto[10336]: 1650134209: New connection from 192.168.1.61:59007 on port 1883.
Apr 16 19:36:49 DietPi mosquitto[10336]: 1650134209: Client <unknown> disconnected due to protocol error.
Apr 16 19:36:49 DietPi mosquitto[10336]: 1650134209: New connection from 192.168.1.61:59008 on port 1883.
Apr 16 19:36:49 DietPi mosquitto[10336]: 1650134209: Client <unknown> disconnected due to protocol error.
Apr 16 19:36:49 DietPi mosquitto[10336]: 1650134209: New connection from 192.168.1.61:59009 on port 1883.
Apr 16 19:36:49 DietPi mosquitto[10336]: 1650134209: Client <unknown> disconnected due to protocol error.
Apr 16 19:37:23 DietPi mosquitto[10336]: 1650134243: New connection from 192.168.1.61:59059 on port 1883.
Apr 16 19:37:23 DietPi mosquitto[10336]: 1650134243: Client <unknown> disconnected due to protocol error.
Apr 16 19:37:23 DietPi mosquitto[10336]: 1650134243: New connection from 192.168.1.61:59060 on port 1883.
Apr 16 19:37:23 DietPi mosquitto[10336]: 1650134243: Client <unknown> disconnected due to protocol error.
Apr 16 19:37:23 DietPi mosquitto[10336]: 1650134243: New connection from 192.168.1.61:59061 on port 1883.
Apr 16 19:37:23 DietPi mosquitto[10336]: 1650134243: Client <unknown> disconnected due to protocol error.
Wait, is there even a webpage for Mosquito?
When I read “clients authenticate” in the docs, I assumed that meant a webpage. Is this the address that HA (for example) should be using?
yes, I guess. There is no web interface if I’m not mistaken. This is an interface that can be used by other apps only.
Thanks for confirming. I’m feeling a bit stupid right now,
There are 3rd party HTTP frontends available for MQTT, e.g.: https://github.com/fabaff/mqtt-panel .
cheers!