Skip to content

Commit

Permalink
[blender] uvicorn use host "0.0.0.0" because Harmony detect the port …
Browse files Browse the repository at this point in the history
…in use as free, it's fixed
  • Loading branch information
EvanBldy committed May 12, 2022
1 parent 74259fe commit 4198c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/blender/dccutils_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down

0 comments on commit 4198c9c

Please sign in to comment.