Closed dileep-hegde closed 4 years ago
我和你一样报这样的错误,但是不知道怎么解决,有其他人知道怎么解决这个问题吗
I am getting the same issue with all of the web hosts of MQTT
I am also getting the same issue with all of the web hosts of MQTT.
Please help.
+1
Trying to figure it out together with eclipse/mosquitto.
Getting this error Warning: stream_socket_client(): unable to connect to tcp://localhost:1883 (Connection refused).
I'm missing anything? Do I need to configure the mosquitto-php too I'm using PHPMqtt? Do I need to configure the broker too, if yes then please help in this?
I am restarting this project so having a clear out of old issues (If you believe this is still valid please reopen)
I m not able to connect to cloudMQTT using this phpMQTT from web host. I m getting error
Both publish and subscribe is working through localhost. but when i uploaded to web hosting it's giving that error.