I went through MAAANY hours in this issue... and the following is what works 4me.
# MQTT Websockets defaults
mqtt_websockets_enabled = 1
#X mqtt_websockets_host =
test.mosquitto.org #X mqtt_websockets_port = 8080
#X mqtt_websockets_host =
broker.hivemq.com #X mqtt_websockets_port = 8000
mqtt_websockets_host = [ur URL]
mqtt_websockets_port = 9001
mqtt_websockets_ssl = 0
mqtt_websockets_topic = "weather/loop"
#X disconnect_live_website_visitor = 1800000
Uncomment the above as you wish. Try a free public MQTT (before local), as Mosquitto or HiveMQ as the above...
Remember to set your router port forwarding as well...