Steven D
Steven D2y ago

Port forwarding (headless mode)

@Akshay could you give an example command to run with port forwarding?
3 Replies
Akshay
Akshay2y ago
On server: marimo edit --headless On client: ssh -N -L localhost:REMOTEPORT:localhost:LOCALPORT USER@HOST (The all-caps text are placeholders for values) When you run with headless, you should still see a URL printed to the screen, something like http://localhost:2718/edit?kernel_id=77dc4a1e-70cd-4613-9cc1-c9b6f3389d4d So if you forwarded 2718 to 2718, then you could open that URL in a browser on your client, and it should work Let me know if you have any issues
Steven D
Steven DOP2y ago
I ran marimo edit in vscode and that maybe worked? weird let me try headless in terminal ok headless worked! nice! sorry I missed your email, just saw that
Akshay
Akshay2y ago
Awesome! No worries