I use Cloud9 to connect to EC2 via ssh and then I installed using the Cloud9 terminal jupyter notebook. And I run “jupyter notebook --ip=0.0.0.0 --port=8080 --no-browser”.
I receive this as url: http://ip-172-31-47-252:8080/?token=5ca5c4c6fa0bf206577e41f08f63a1b4b11ae5c9878d2d1f&token=5ca5c4c6fa0bf206577e41f08f63a1b4b11ae5c9878d2d1f but when I open it says “This site can’t be reached ERR_NAME_NOT_RESOLVED”.
I had the same problem before when I run jupyter on cloud9 but the I received a pop up saying that the url is something like “https://…cloud9.eu-west-1.amazonaws.com/tree” and i was able to open jupyter using this url.
But where can I find this url ?
I tried running "echo $PORT " and “echo $IP” but I get an empty line in the first case when I connect to EC2 from Cloud9 using ssh and in the second case when i run only in cloud9 i get an IP and PORT number.