On 8/10/24 2:33 PM, Richard Shaw wrote:
On Sat, Aug 10, 2024 at 4:23 PM Franta Hanzlík via users <users@lists.fedoraproject.org mailto:users@lists.fedoraproject.org> wrote:
On Sat, 10 Aug 2024 16:08:50 -0500 Richard Shaw <hobbes1069@gmail.com <mailto:hobbes1069@gmail.com>> wrote: > Which is interesting because `ss -tapn` shows otherwise and the log for > mosquitto agrees:
What does the "ss" output show?
> 1723324003: Config loaded from /mosquitto/config/mosquitto.conf. > 1723324003: Opening ipv4 listen socket on port 1883. > 1723324003: Opening ipv6 listen socket on port 1883. > 1723324003: Opening ipv4 listen socket on port 8883. > 1723324003: Opening websockets listen socket on port 443. > 1723324003: mosquitto version 2.0.18 running > -- And does it also listen on the external interface, and not just on the loopback?I have not specified an IP address so it should be listening to all ports. Ports 1883 and 8883 are working.
A lot of applications will only listen on localhost if you don't tell them otherwise for security reasons.