@ -35,7 +35,7 @@ if __name__ == '__main__':
client.on_connect = on_connect
client.on_connect_fail = on_connect_fail
# Establish a connection
client.connect('127.0.0.1', 1883)
client.connect('192.168.1.27', 1883)
# Publish a message
client.loop_forever()
except Exception as e: