summaryrefslogtreecommitdiff
path: root/mqtt_client
diff options
context:
space:
mode:
Diffstat (limited to 'mqtt_client')
-rw-r--r--mqtt_client/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mqtt_client/main.py b/mqtt_client/main.py
index 80b4da9..dad09b5 100644
--- a/mqtt_client/main.py
+++ b/mqtt_client/main.py
@@ -34,7 +34,7 @@ connected = False
while(not connected):
try:
- mqttc.connect("127.0.0.1", 1883, 60, '', 0, True)
+ mqttc.connect("mosquitto", 1883, 60, '', 0, True)
connected = True
except ConnectionRefusedError:
print("Failed to connect. Retrying...")