diff --git a/thingsboard_gateway/connectors/rest/rest_connector.py b/thingsboard_gateway/connectors/rest/rest_connector.py index 76019a682..1ef101146 100644 --- a/thingsboard_gateway/connectors/rest/rest_connector.py +++ b/thingsboard_gateway/connectors/rest/rest_connector.py @@ -163,7 +163,7 @@ def __run_server(self): self.load_handlers() web.run_app(self._app, host=self.__config['host'], port=int(self.__config.get('port', 5000)), - handle_signals=False, ssl_context=ssl_context, reuse_port=True, reuse_address=self.__config['host'], + handle_signals=False, ssl_context=ssl_context, reuse_port=True, reuse_address=True, access_log=self.__log) def run(self):