How to use the Mosquitto Broker with IPv6

You can connect to the Mosquitto broker using IPV6 as well as IPv4 provided IPv6 is enabled on your machine. When you start mosquitto using a basic configuration file like the one shown below mosquitto will listen for connections on both IPv4 and IPv6. include_dir /etc/mosquitto/conf.d log_type error log_type notice log_type information log_type debug log_type websockets log_timestamp_format…