Naznee
Newbie level 6
I follow up the tutorial to set up the mosquitto broker on window
steps:-
1)download the broker from website
2)install it
3)change in config file to run the broker on local IP
listener 1883 0.0.0.0
max_packet_size 10000
allow_anonymous true
4)Windows Defender Firewall->advanced setting->inbound rules->new rule->make TCP port 1883
5)services->mosquitto broker ->automatic
command prompt
C:\Program Files\mosquitto>net start mosquitto
The Mosquitto Broker service was started successfully.
C:\Program Files\mosquitto>mosquitto_sub -h localhost -t test
Error: No connection could be made because the target machine actively refused it.
when manually start the mosquitto broker by services i got this …
the mosquitto broker services on local computer started and then stopped .some services stopped automatically if thay are not in use by other services or program
steps:-
1)download the broker from website
2)install it
3)change in config file to run the broker on local IP
listener 1883 0.0.0.0
max_packet_size 10000
allow_anonymous true
4)Windows Defender Firewall->advanced setting->inbound rules->new rule->make TCP port 1883
5)services->mosquitto broker ->automatic
command prompt
C:\Program Files\mosquitto>net start mosquitto
The Mosquitto Broker service was started successfully.
C:\Program Files\mosquitto>mosquitto_sub -h localhost -t test
Error: No connection could be made because the target machine actively refused it.
when manually start the mosquitto broker by services i got this …
the mosquitto broker services on local computer started and then stopped .some services stopped automatically if thay are not in use by other services or program