diff --git a/system_monitor_overlay/server.py b/system_monitor_overlay/server.py index af1ae3b..8d78623 100644 --- a/system_monitor_overlay/server.py +++ b/system_monitor_overlay/server.py @@ -32,6 +32,7 @@ class QuietSystemInfoHandler(SystemInfoHandler): if self.path != '/stats': super().log_message(format, *args) +socketserver.TCPServer.allow_reuse_address = True with socketserver.TCPServer(('', PORT), QuietSystemInfoHandler) as httpd: print("serving at port", PORT) try: