美文网首页
Ngrok使用

Ngrok使用

作者: do_young | 来源:发表于2020-09-01 23:42 被阅读0次

    1. Unzip to install

    On Linux or Mac OS X you can unzip ngrok from a terminal with the following command. On Windows, just double click ngrok.zip to extract it.

    $ unzip /path/to/ngrok.zip
    

    2. Connect your account

    Running this command will add your authtoken to the default ngrok.yml configuration file. This will grant you access to more features and longer session times. Running tunnels will be listed on the status page of the dashboard.

    $ ./ngrok authtoken 7uCuGHWEbTQrp49DoBPss_2C4St7BsPPtSPKkQWyZva
    

    3. Fire it up

    Read the documentation on how to use ngrok. Try it out by running it from the command line:

    $  ./ngrok help
    

    To start a HTTP tunnel forwarding to your local port 80, run this next:

    $ ./ngrok http 80
    

    相关文章

      网友评论

          本文标题:Ngrok使用

          本文链接:https://www.haomeiwen.com/subject/skzbsktx.html