From 4198c9c56ed5dff284dad8b4cde2ab3039df593d Mon Sep 17 00:00:00 2001 From: Evan Blaudy Date: Thu, 12 May 2022 13:48:50 +0200 Subject: [PATCH] [blender] uvicorn use host "0.0.0.0" because Harmony detect the port in use as free, it's fixed --- connectors/blender/dccutils_server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectors/blender/dccutils_server/server.py b/connectors/blender/dccutils_server/server.py index 99ffd4f..e660c97 100644 --- a/connectors/blender/dccutils_server/server.py +++ b/connectors/blender/dccutils_server/server.py @@ -17,7 +17,7 @@ def find_free_port(port_range=range(10000, 10100)): def server_start(port_range=range(10000, 10100)): port = find_free_port(port_range) if port: - uvicorn.run(app, host="127.0.0.1", port=port) + uvicorn.run(app, host="0.0.0.0", port=port) else: print( "Cannot find a free port in the range [%i...%i]"