Hi, I am currently working on a Ignition Cloud version, the PC that hosts the gateway is on my boss computer. So I have access to the gateway thorugh an IP address over the internet. I installed the MQTT modules (Distributor, Engine and Transmission) I want to connect to the MQTT broker from Node-Red but I dont know which host URL use to connect. If I use the IP address of the gateway it does not connect. I already configured a user.
What IP address or host url should I use to connect to the broker and start publishing data?
You will likely need to add additional inbound rules in your security group configuration (EC2 Security Groups in AWS or "Network Security Groups" in Azure). By default, there are only rules configured for 80/443. You'll want to add a rule for 1883/8883. It is recommended that you add a TLS certificate to your gateway for secure communication--MQTT Distributor on Ignition Cloud Edition will automatically use the same TLS certificate as the gateway web server to facilitate secure MQTTS communication.
2 Likes
But what is the actual host url structure? The same IP address I use to connect to the gateway?