MQTT Exception when connecting to a local broker
I am trying to publish MQTT data to a mosquitto broker running locally on my network (running on a different machine) from a fipy module (placed on a pyscan board, connectted to Atom in ubuntu 20.04) and I get the below error. Any suggestions/ pointers will be highly helpful.
I could follow the tutorial  and the could successfully connect and send data to io.adafruit.com, but I don't know why it fails to connect to the broker in the network. I am also able to connect other boards (e.g: arduino based) to the broker in the local n/w.
The screenshots of the micropython code in atom, and what happens on the broker side, are also given below.
Thanks very much for your valuable time.