Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

Docker Machineで構築した環境に実機端末でアクセスする 新


  • docker-machine(をローカルホストにポートフォワーディングする設定をコマンドプロンプトからしておく。
netsh interface portproxy add v4tov4 listenport=80 listenaddress= connectport=80 connectaddress=
netsh interface portproxy show v4tov4
ipv4 をリッスンする:         ipv4 に接続する:

Address         Port        Address         Port
--------------- ----------  --------------- ----------       80  80
  • https://ngrok.com/download

  • ngrok.exeを実行するとコマンドプロンプトが開くのでその場で以下のコマンドを実行。

ngrok http 80
ngrok by @inconshreveable                                                                               (Ctrl+C to quit)

Session Status                online
Version                       2.2.8
Region                        United States (us)
Web Interface       
Forwarding                    http://6f33a4ec.ngrok.io -> localhost:80
Forwarding                    https://6f33a4ec.ngrok.io -> localhost:80

Connections                   ttl     opn     rt1     rt5     p50     p90
                              3       0       0.00    0.00    66.53   67.35


Tunnel 6f33a4ec.ngrok.io not found


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
Help us understand the problem. What are the problem?