LoginSignup
0
0

More than 5 years have passed since last update.

サーバーサイドの動作をngrokでローカル環境を外部から動作確認

Posted at

Step 1: Download ngrok

https://ngrok.com/
からMac用のバイナリをダウンロード

Step 2: 解凍

$ unzip /path/to/ngrok.zip

Step 3: 実行

ポートを外部に公開する

$ ./ngrok http [ポート番号]
例) 5000番ポートの場合
$ ./ngrok http 5000

以下のような画面が表示されます
スクリーンショット 2018-07-14 10.05.27.png

a1f8c9d5 は起動のたび、ランダムな文字列が設定されます。

ヘルプ

$ ./ngrok help
0
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
0
0