Ngrok errors '502 bad gateway'

前端 未结 15 1547
谎友^
谎友^ 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:31

    If you just with to use ngrok to intercept incoming data, and you do not have a local webserver for whatever reason, then you can use ncat.

    nc -l 5000

    This will create a process that listens on port 80.

    So when used in combination with

    ngrok http 5000

    You will no longer get the '502 bad gateway' error.

提交回复
热议问题