MQTT Client automatically connects to broker via IPv6
tjeitner opened this issue · 1 comments
tjeitner commented
We have a problem establishing a connection to the broker via the host name. Apparently the client is trying to connect to the broker using an IPv6 address if the computer on which the client is running has also an IPv6 address itself. Our broker only accepts IPv4 connections.
Probably the problem is caused by the following change in the client library
Can I configure the client to only establish IPv4 connections?
zacsonskaria commented
I am also facing similar issues when using paho mqtt for Android. Have anyone found a solution to this ?