Ngrok errors '502 bad gateway'

前端 未结 15 1544
谎友^
谎友^ 2020-12-15 03:16

Quite new to using any sort of Web App stuff, and I\'ve been trying to slowly build a Facebook Messenger Bot. When I try to use ngrok I can\'t visit the address I\'m given,

15条回答
  •  别那么骄傲
    2020-12-15 03:33

    Step 1 - Register to ngrok and download .exe file in dashboard page

    Step 2 - Open terminal and copy & paste from the dashboard the line without ./

    Step 3 - run your localhost

    Step 4 - If step 2 was successfully done, paste in the same terminal (step 2) the line with your localhost port

    ngrok http https://localhost:44386 -host-header="localhost:44386"

    Step 5 - Copy the URL generated in the terminal and waalla.. you can ping to it.


    In case of <<<>>> change https into http so the Step 4 will be ngrok http http://localhost:44386 -host-header="localhost:44386"

提交回复
热议问题