apahl
apahl9mo ago

Connecting via the IP address of a machine

Hi, I used to be able to connect to a marimo session running on a different machine in our network, just by using the IP address of the machine. That was very handy for quick sharing of Notebooks (pre v0.3). With the current version (v0.3.2), this does not work anymore. I am getting an "Unable to connect error" in the browser. This literally just broke when updating from an older marimo version to the most current one. Would you have any ideas how I could make this work again?
2 Replies
Akshay
Akshay9mo ago
In 0.3.0, we changed server to listen only on localhost by default, to harden our security. You can opt-in to listening on all interfaces. I believe this will work:
marimo edit my_notebook.py --host 0.0.0.0
marimo edit my_notebook.py --host 0.0.0.0
If it doesn't, let me know
apahl
apahlOP9mo ago
Thank you for the fast answer. I will try this first thing tomorrow morning (already ended the work day). Indeed, that works again. Fantastic, I was a bit worried that a great feature of marimo could be gone. You guys are the best and marimo is really a cool tool that I promote here internally a lot. And for me it is three features that stand out most. The reactivity of the Notebook (I really love the fact that there are no more stale cells in my Notebook) and the interactivity with the very rich set of widgets. Finally, the editing experience in the marimo editor is very nice, including Copilot integration - and there is even multi-cursor support!