googlecolab / jupyter_http_over_ws

Apache License 2.0
267 stars 56 forks source link

Not able to connect jupyter local machine to google colab #41

Open HHBODARA opened 1 year ago

HHBODARA commented 1 year ago

I am trying to connect it with google colab using this command

jupyter notebook \ --NotebookApp.allow_origin='https://colab.research.google.com' \ --port=8081 \ --NotebookApp.port_retries=0

After this local machine is running on the same port but not able to connect it with colab. I tried restarting my notebook and generating new tokens disabling all the firewalls. Then tried ngrok for tunneling the token URL but i stuck in between where to use that tunneling URL. Then I tried changing the jupyter_notebook_config.py file by adding c.NotebookApp.allow_remote_access = True as per bing said, but then aslo it was not connecting.

Can anyone please help me with this or can suggest any other way where can I use my localhost on Internet for changing and debuggning .ipynb file located on local server.