Skip to content

Commit 23da68f

Browse files
committed
add addr for localhost
1 parent a48cbea commit 23da68f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async def on_disconnect():
6161

6262
def start_prometheus_server():
6363
# Start a Prometheus HTTP server on port 8000
64-
start_http_server(8000)
64+
start_http_server(8000, addr='0.0.0.0')
6565
print("Prometheus server started on port 8000")
6666

6767
if __name__ == '__main__':

0 commit comments

Comments
 (0)