LoginSignup
1
0

More than 1 year has passed since last update.

google colabでngrokを使ってAPI化したときにWelcome to ngrok!とか出るときの対処法

Posted at

google colabでngrokを使ってAPI化したときにWelcome to ngrok!とか出たとき解決した方法を書いときます。
google colabでngrokを使ってAPI化することについて、詳しくは下の記事を読んでください
https://qiita.com/k_0214/items/dcf14c74779eb9839577

スクリーンショット 2022-02-19 19.50.46.png

urlにアクセスした時にこんな感じの画面が出たときです。

解決した方法

1:Sign up for an ngrok accountとか書かれてるとこをクリックします。

2:サインアップしてから、Your Authtokenとか書いてあるところに行ってCommand Lineとか書かれてるとこのコードをgoogle colaboratory で実行します。

こんな感じで
!ngrok authtoken -----your token------

ngrokのところはngrokのファイルのpathにしてください。
MyDriveの下にあった場合は/content/drive/MyDrive/ngrokとかにしてください。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0