Get help from the marimo community

Updated 4 days ago

RuntimeError: Could not find a free port

When I try to start by running marimo edit

this is the error that appear.
Plain Text
  File "/Users/mh/.pyenv/versions/3.10.10/lib/python3.10/site-packages/marimo/_server/utils.py", line 59, in find_free_port
    return find_free_port(next_port, attempts - 1)
  File "/Users/mh/.pyenv/versions/3.10.10/lib/python3.10/site-packages/marimo/_server/utils.py", line 59, in find_free_port
    return find_free_port(next_port, attempts - 1)
  File "/Users/mh/.pyenv/versions/3.10.10/lib/python3.10/site-packages/marimo/_server/utils.py", line 59, in find_free_port
    return find_free_port(next_port, attempts - 1)
  [Previous line repeated 97 more times]
  File "/Users/mh/.pyenv/versions/3.10.10/lib/python3.10/site-packages/marimo/_server/utils.py", line 43, in find_free_port
    raise RuntimeError("Could not find a free port")
RuntimeError: Could not find a free port


I have check my ports if marimo is running on any ports using sudo lsof -i -P | grep LISTEN, but theres none.
M
1 comment
Now it is working.
Add a reply
Sign up and join the conversation on Discord