phpMQTT icon indicating copy to clipboard operation
phpMQTT copied to clipboard

Facing problem.

Open pavan-ambekar opened this issue 4 years ago • 2 comments

hello, I'm new to the PHP world, facing problem while connecting to MQTT.

I'm using the same library phpMQTT, and I'm using the IP address as the server. I'm using same publish example, getting error in phpMQTT file

The error is: stream_socket_client(): unable to connect to tcp://...*:8083 (Connection timed out)

pavan-ambekar avatar Apr 12 '20 16:04 pavan-ambekar

Not sure I have enough information to go on, If 8083 is a websockets port I don't believe this library will connect to it

bluerhinos avatar Apr 18 '20 09:04 bluerhinos

even port 8083 and 8883 is not connecting sir.

pavan-ambekar avatar Apr 18 '20 16:04 pavan-ambekar