最終更新:2023-08-24 (木) 17:10:21 (245d)
ngrok
Top / ngrok
Public URLs for exposing your local web server.
概要
- localhostで動いているサーバーを外部(LAN外)からアクセスできるように、リレーしてくれるツール
例
無料
- For quick demos and other simple tunneling needs.
- HTTP/TCP tunnels on random URLs/ports
- 1 online ngrok process
- 4 tunnels/ngrok process
- 40 connections / minute
yaml
- /Users/tokkyo/Library/Application Support/ngrok/ngrok.yml
コマンド
ngrok http <ポート番号>
EXAMPLES:
ngrok http 80 # secure public URL for port 80 web server ngrok http -subdomain=baz 8080 # port 8080 available at baz.ngrok.io ngrok http foo.dev:80 # tunnel to host:port instead of localhost ngrok http https://localhost # expose a local https server ngrok tcp 22 # tunnel arbitrary TCP traffic to port 22 ngrok tls -hostname=foo.com 443 # TLS traffic for foo.com to port 443 ngrok start foo bar baz # start tunnels from the configuration file