Skip to content

Commit 8b29070

Browse files
committed
set explicit IP localhost address to enforce IPv4 connection to broker
1 parent a71ccff commit 8b29070

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

smartmeter_datacollector/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class InvalidConfigError(Exception):
2727
},
2828
'sink1': {
2929
'type': "mqtt",
30-
'host': "localhost",
30+
'host': "127.0.0.1",
3131
'port': 1883,
3232
'tls': False,
3333
'ca_file_path': "",

0 commit comments

Comments
 (0)