marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
5.39k stars 158 forks source link

remote connection #1732

Open ericYH01 opened 2 days ago

ericYH01 commented 2 days ago

Describe the bug

per https://docs.marimo.io/faq.html#faq-remote , I am trying to remotely connect to a server (192.168.0.99) the command is "marimo --headless --host 0.0.0.0 --port 7999" however, I can't access to the remote marimo server by entering following command within my local browser:

http://192.168.0.99:7999

Environment

remote server: ubuntu 22.04 LTS local machine: win11 + edge browser

Code to reproduce

No response


update

when using port different from common used like 8080, one shall remember to allow the ufw. Say,

$ sudo ufw allow 7999/tcp $ sudo ufw reload

mscolnick commented 2 days ago

the command needs to be marimo edit --headless ...