0
0

More than 1 year has passed since last update.

ngrokで接続したと思ったらすぐ落ちる[対処法]

Last updated at Posted at 2022-11-25

Flutterをngrok経由で表示させる途中、下記を実行。

$ ngrok config add-authtoken <AuthToken>
$ flutter run -d web-server --web-port <ポート番号> 
$ ngrok http <ポート番号>

一瞬セッションステータスが表示されたと思ったら一瞬で落ちて下記が表示された。(一度もセッションが確立した覚えがないのに...)

Your account is limited to 1 simultaneous ngrok agent session.

デフォルトでregionがusらしいのでapに変更すると成功した。

$ ngrok http <ポート番号> --region ap
0
0
1

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
0
0