amazon ec2 - Can not Connect to Jupyter Notebook on AWS EC2 Instance -


i'm running ubuntu 14.04 lts on aws ec2 instance. i'm trying connect jypter in safari macbookpro. opened https port 443 , tcp 8888 in security group.

ubuntu@ip-10-0-1-62:~$ netstat -a  | grep 8888 tcp        0      0 localhost:8888          *:*                     listen      tcp        0      0 localhost:8888          localhost:36190         time_wait   ubuntu@ip-10-0-1-62:~$ netstat -a  | grep 443 unix  3      [ ]         stream     connected     12443     ubuntu@ip-10-0-1-62:~$  

i can't connect jupyter safari browser on mac. (i can connect tensorboard on port 6006).

ubuntu@ip-10-0-1-62:~$ jupyter notebook [w 20:40:14.909 notebookapp] unrecognized json config file version, assuming version 1 [i 20:40:14.921 notebookapp] writing notebook server cookie secret /run/user/1000/jupyter/notebook_cookie_secret [i 20:40:15.224 notebookapp] jupyterlab alpha preview extension loaded /home/ubuntu/anaconda/lib/python2.7/site-packages/jupyterlab [i 20:40:15.230 notebookapp] serving notebooks local directory: /home/ubuntu [i 20:40:15.230 notebookapp] 0 active kernels  [i 20:40:15.230 notebookapp] jupyter notebook running at: http://localhost:8888/?token=c08a71a48c6e159bdbdcc95837c4e2e053349382c681899b [i 20:40:15.231 notebookapp] use control-c stop server , shut down kernels (twice skip confirmation). [c 20:40:15.232 notebookapp]       copy/paste url browser when connect first time,     login token:         http://localhost:8888/?token=c08a71a48c6e159bdbdcc95837c4e2e053349382c681899b 

enter image description here

$ telnet 52.8.16.250 8888 trying 52.8.16.250... telnet: connect address 52.8.16.250: connection refused telnet: unable connect remote host $ telnet 52.8.16.250 6006 trying 52.8.16.250... telnet: connect address 52.8.16.250: connection refused telnet: unable connect remote host $ telnet 52.8.16.250 8080 trying 52.8.16.250... telnet: connect address 52.8.16.250: connection refused telnet: unable connect remote host $ telnet ec2-52-8-16-250.us-west-1.compute.amazonaws.com 8888 trying 52.8.16.250... telnet: connect address 52.8.16.250: connection refused telnet: unable connect remote host $ telnet ec2-52-8-16-250.us-west-1.compute.amazonaws.com 20 trying 52.8.16.250...  telnet: connect address 52.8.16.250: operation timed out telnet: unable connect remote host 


Comments