#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목jupyter notebook 을 원격으로 해보고 싶은데2019-05-14 05:44
작성자

수업 외적인 질문이지만

집의 데스크탑에서 jupyter notebook을 키고 외부에서 노트북으로 접속하고자 하는데

인터넷을 다 뒤져보았지만

jupyter notebook --ip=[ip] --port=[port]

로 실행할 경우 데스크탑 내에서는 해당 ip의 포트로 jupyter notebook이 실행되지만

다른 ip를 가진 시스템에서는 접속이 안되는데 어떻게 하면 될까요??


(기본적으로 데스크탑의 firewall이나 jupyter_notebook_config.py 설정은 하였습니다)


-----수정----

좀더 자세한 이슈에 대해서 설명드리고자합니다.


windows 10 Education desktop(server) 에  laptop computer with windows 10 Education으로 접속하고자 합니다.

firewall setup을 통해 서버의 port 를 오픈하였습니다. 또한 서버의 jupyter config file 을 아래와 같이 설정하였습니다,

c.NotebookApp.allow_origin = '*'
c.NotebookApp.allow_remote_access = True
c.NotebookApp.ip = '0.0.0.0'
c.NotebookApp.open_browser = False
c.NotebookApp.password = u''
c.NotebookApp.port = 9000



이후
jupyter notebook --ip=[server.ip] --port=9000
로 주피터 노트북을 실행했을때
랩탑에서 서버와 같은 ip를 사용할 경우 접속이 되지만. (http://[server.ip]:9000)
외부에서 다른 ip를 사용할 경우 접속이 되질 않습니다 ㅠㅠ

댓글