Closed emresoyunmez closed 1 month ago
Have you tried using localhost
instead of your IP address?
Yes, it doesn't return any errors. But I need this device to work as a bridge between several devices and the client will be handling some processes so I need to make it work with given IP.
1668501697: Opening ipv4 listen socket on port 1883.
1668501697: Error: Address already in use
1668501697: Opening ipv6 listen socket on port 1883.
1668501697: Error: Address already in use
These errors suggest that mosquitto isn't able to open its sockets - perhaps something else is listening already? I don't believe this is a problem with the Python client.
similar error anyone have solution?
Closing due to age/inactivity (and the fact that the original issue appears to have been something else running on the port).
Hello, I am using the python paho.mqtt.client to connect with the mosquitto broker installed on the same device. I am getting the connection refused error. The code and the error is like below:
The mosquitto is loaded and running
I can connect to the broker by using the pub-sub of the mosquitto-clients and see the messages published so I don't think that something is wrong with broker. But the client somehow doesn't connect to it.