[network] force IPv6 bind
This commit is contained in:
parent
6780316862
commit
d73ac49828
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if __name__ == '__main__':
|
|||
# Serve metrics over HTTP.
|
||||
print("Starting prometheus-yoctotemp-exporter on port",
|
||||
"{}...".format(HTTP_PORT), end='')
|
||||
start_http_server(HTTP_PORT)
|
||||
start_http_server(HTTP_PORT, addr='::')
|
||||
print(" OK.")
|
||||
|
||||
while sensor.isOnline():
|
||||
|
|
Loading…
Reference in a new issue