-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to connect private broker RUT240 in mosquitto mqtt service.? #2766
Comments
If your RUT240 has IP 192.168.1.1 and your Mosquitto broker has IP 192.168.1.2, then you would use this config to create a connection from Mosquitto to your RUT240:
Your MQTT client would then connect to 192.168.1.2. If your client cannot connect to 192.168.1.1, then it is unlikely that your broker would be able to either. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a RUT240 Wifi/4G Broker/Router.
The RUT240 Broker/Router have a MQTT Service.
The broker IP is 192.168.1.1
I want to connect to the private broker on the RUT240 to publish/subscribe to messages using mosquito mqtt service. Is it possible to connect this method? If possible how to configuration file in mosquito mqtt service to connect private broker RUT 240. I had test with this sample code from github code.
I set up a bridge in the mosquitto.conf file as follows:
connection rtu240
address 192.168.1.1
topics # both
I can't connect 192.168.1.1 from the client. Any have an idea? Please help.
The text was updated successfully, but these errors were encountered: