[Remote Development] configure address for live preview

I’m developing using nbdev on a remote server. By running nbdev_preview it publishes the preview to localhost. However, I would like to access the preview from external computers, for which I would need to change the address to I already saw that the port 3000 is configurable in _quarto.yml, but I don’t know how to change the address.

Is there any way to serve the preview and make it accessible from the web?

Thank you!

I know a current workaround would be to ssh tunnel to the server, with:

 ssh -L 3000:localhost:3000 SSH_SERVER

so you can still access the live preview with http://localhost:3000/
I am looking for a way to access the remote preview without ssh tunneling.

Also forgot ngrok is a very useful tool: https://ngrok.com/

You can also try tailscale https://tailscale.com

1 Like

Sure we can add that feature!

For anyone looking around and having issues with ssh tunneling (my ISP made it super difficult to navigate) outside of their home network – this solution has been glorious (and relatively easy to setup) – I have been using this for a few months now (all over the place) without an issue. Thanks, Hamel!