2023-03-11 ngrok 代替としての Cloudflare Tunnels
ngrok 替としての Cloudflare Tunnels の機能が便利だった。
Nice free ngrok alternative.
— Wes Bos (@wesbos) March 10, 2023
Use Cloudflare tunnels to proxy your localhost application to the outside world with https.
1. brew install cloudflared
2. cloudflared tunnel --url http://localhost:6969 pic.twitter.com/dfYKSBfVbE
下記はcloudflared
を使って localhost:4000
を Tunnel してみた例:
$ cloudflared tunnel --url http://localhost:4000
INF Requesting new quick Tunnel on trycloudflare.com...
INF +--------------------------------------------------------------------------------------------+
INF | Your quick Tunnel has been created! Visit it at (it may take some time to be reachable): |
INF | https://cxxxx.trycloudflare.com |
INF +--------------------------------------------------------------------------------------------+
これで ngrok 要らず!