Calling webhook API from VM instance on GCP

Hi , i recently follow this tutorial https://www.youtube.com/watchv=9C1Km6xfdMA&t=557s&ab_channel=DigitalBreed to deploy my chatbot to a VM on Google cloud using docker-compose .

When tested on local PC http://localhost:5005/webhooks/rest/webhook with the sender and message json body , i’m able to post to the webhook url to get response from chatbot.

But after i successfully deploy my chatbot with a static url , i’m unable to make a POST to webhook API using the static IP given e.g VM instance IP tested with widget http://34.133.213.72/. It return me Cannot POST /webhooks/rest/webhook

I would like to know how can i make it so i can access the webhook API similar with how i did it in local PC e.g http://34.133.213.72:5005/webhooks/rest/webhook . Thanks

This is my chatbot i used to deploy with the docker-compose GitHub - believeitcode/test_deployment: test_deployment on GCP

The problem might be your nginx configuration. Can you access http://localhost:5005/webhooks/rest/webhook from inside the rasa docker container?