wampdialogflow-es

Make wampserver online on internet without port forwarding


I want to make my Wampserver online accessible through the api.ai webhook. I tried it by port forwarding but cannot do that. Is there another method to make Wampserver online?


Solution

  • I have answered it before, but answering it again for your convenience.

    Run your local host server as you do.

    Then download the following utility.

    https://ngrok.com/download

    Then unzip it and you will get a ngrok binary.

    Then run, ngrok http portnu

    here port number is the one where your local webserver(wampserver) is listening.

    On running the above command, ngrok will provide a http as well as a https public url. Use that public url as your fulfillment logic on dialog flow console(api.ai). And now your wampserver is online and accessible by the webhook.