Skip to content

Commit

Permalink
Change port range of dark storage
Browse files Browse the repository at this point in the history
There is an issue where dark storage would try to use the same port as
ensemble evaluator. Switching the port range for dark storage should
fix this problem until we can fix the bug.
  • Loading branch information
JHolba authored and xjules committed Jan 28, 2025
1 parent b01c868 commit ed7ce1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ert/services/_storage_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ def run_server(
config_args.update(reload=True, reload_dirs=[os.path.dirname(ert_shared_path)])
os.environ["ERT_STORAGE_DEBUG"] = "1"

sock = find_available_socket(custom_host=args.host)
sock = find_available_socket(
custom_host=args.host, custom_range=range(51850, 51870)
)
connection_info = _create_connection_info(sock, authtoken)

# Appropriated from uvicorn.main:run
Expand Down

0 comments on commit ed7ce1a

Please sign in to comment.