After you run jupyter notebook on a public server, it will output the following code as far as URL's go:
https://[all ip addresses on your system]:8894/
So, my question is: What URL do I enter into insert web browser here in order to get it running?
You'll need to find the IP address/(domain name if your machine has one) of your specific computer. If you're running Unix you can run ifconfig to get the IP address, if you're running Windows you can run ipconfig instead.
Related
When running jupyter notebook inside a conda virtual enviornment in wsl (Windows subsystem for linux), copy pasting the url wont work. It always shows "It took too long to respond" or "Connection timed out".
• Try in another browser (e.g. if you normally use Firefox, try with Chrome). This helps pin down where the
problem is.
• Try disabling any browser extensions and/or any Jupyter extensions you have installed.
• Some internet security software can interfere with Jupyter. If you have security software, try turning it off
temporarily, and look in the settings for a more long-term solution.
• In the address bar, try changing between localhost and 127.0.0.1. They should be the same, but in some
cases it makes a difference.
I ran into a similar problem but I wasn't using a virtual environment. Are you trying to connect to the server from the host computer? And are you using the private IP address or localhost address to connect?
I couldn't connect to the server on WSL from the local or remote network.
Apparently, WSL 2 uses a virtual network adapter that has its own IP address. It also changes the IP address every time the server is restarted. I had to write a script that forwarded the network traffic from the virtual machine to the host computer. This allowed me to access the server using the private IP address of the host computer.
I wrote an article about how to do it to make it easier for everyone:
How to Set Up the Jupyter Notebook Home and Public Server On Windows Subsystem for Linux 2 (WSL2)
I have deployed a node on a cloud server which has a public ip address (but I cannot use ifconfig command to find the public ip interface )...I just get some error while I try to run the node... the network map server is on the other server
this picture show the error
This is likely due to the fact that a process is already bound to one of the ports the node is attempting to use.
You need to kill this process first. If it's a Java process, try wmic process where "name like '%java%'" delete on Windows, or killall java -9 on Mac.
I am running a public jupyter notebook on an AWS ec2 instance. When starting the jupyter notebook, how can I get the notebook to give me the public IP address of the instance instead of "localhost"?
https://[PUBLIC_IP_ADDRESS]:8888/?token=[token]
instead of:
https://localhost:8888/?token=[token]
Thank you!
You cannot, or at least not easily, because the externally visible IP may not be the internally visible IP, and the machine you are on, likely does not know this. And that's generic of any network/network enabled application.
For example my current ip in my network is (using ifconfig) 10.168.1.63, but my current global ip is 77.200.16.xxx. My router knows that when it sees an external connection to port 80 from the internet, then it should forward to my machine where the notebook is running. But my machine has no clue about that.
You need to get your public IP from AWS itself.
A client of mine says they're not able to connect to the site and I would like to check if they can ping the server their site is on, obviously I'd want to do it myself rather than explain how to do that to them.
How do I ping my server if I have both my server's IP address and the remote client's IP address in Mac's Terminal?
It doesn't have to be the Terminal app either, I would much prefer an answer that was available for any UNIX machine.
I'm expecting something like this:
ping www.example.com from 123.45.678.901
Actually, you can not, unless the customer allows you to his network by some means. At max you can ping your site from some ping test web site (just google "ping test" or similar)
ping -c 3 <url/ip>(substitute <url/ip> with whatever you have, works on any Unix Terminal)
I've ssh'd into one of my school's computer clusters. I'd like to know the name of the machine on which I'm running, e.g. myth14.
The hostname command will do this.