I am new to n8n and trying to use MQTT trigger node to get the messages on an MQTT topic. I am getting the below issue while trying to execute the node. Both n8n and MQTT are running as docker containers.
I suspect the issue is that you don’t have your MQTT instance on the docker image for n8n so so the local host IP is failing.
What you will need to do is get the ip of your other container and use that or if you have your host machine listening on that port try setting the IP for the connection to 172.17.0.1 and see if that works.