Issue
I'm running a VM on Azure. I first ssh into it through my CL, then I build a docker container which opens a Jupyter Notebook which is accessible from http://localhost:8889 on the VM.
How do I access this port of the VM through a browser on my computer?
I couldn't find much on the web... hopefully I'll be able to access this port of the VM directly from my browser
Solution
If you're running macOS, Linux, or another Unix-y OS, then ssh -L 8889:localhost:8889 $USER@$VM
will bind port 8889 on your system with localhost:8889
on the specified VM. You can then go to http://localhost:8889
on your system's browser.
If you're running Windows then I can't help you, except to say that you should specify that sort of thing up-front.
Answered By - Jim Redmond
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.