mosquitto_pub sends a message to a mqtt server. The -h tells the command the address of the server to send that message to.
Meanwhile mosquitto.conf is the configuration file in the mosquitto server itself.
They are separate things. Why do you think there is a setting in mosquitto.conf that corresponds to the -h parameter of the mosquitto_pub command?
There is no such thing.
Meanwhile mosquitto.conf is the configuration file in the mosquitto server itself.
They are separate things. Why do you think there is a setting in mosquitto.conf that corresponds to the -h parameter of the mosquitto_pub command?
There is no such thing.
Statistics: Posted by memjr — Thu Aug 08, 2024 3:47 pm