Skip to content

facing problem #1

@pavan-ambekar

Description

@pavan-ambekar

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://ip address : 1883 (Connection timed out)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions