![]() Also I can't publish from ESP8266 to computer that installed Mosquitto broker. I can send ping from computer that installed Mosquitto broker to ESP8266 but i can't subscribe to ESP 8266. Also ı can send/receive messages between esp8266 and my PC i use server for MQTT broker. i can send ping my from local pc to esp8266. What do I try : I am trying connection and send/receive messeges from Esp8266 to local computer. Mqtt broker error: no connection could be made because the target machine actively refused it. I tried useful solution on above because I have a problem on below. It is, of course, better to restrict the listener to the IP addresses that you need and it's often better to use some kind of authentication mechanism rather than leaving your server wide open. To listen on addresses other than localhost, you need to have a config file with a "listener" line plus some authentication option. As of mosquitto 2.0, this gives the behaviour you're describing. I assume you're running either without a config file or with a config file that doesn't define a listener. ![]() If you're upgrading from version 1.6 or earlier, you should look at ChangeLog.txt from the installation directory as it has some discussion of breaking changes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |