diff --git a/ceshi.py b/ceshi.py index 1caf9fd..3b5d4e3 100644 --- a/ceshi.py +++ b/ceshi.py @@ -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: