Cloud Function to access localhost for testing?

Is there a way for cloud functions to do an HTTP request to my localhost for testing? I was looking for a way to setup FRPC perhaps to proxy it but couldn’t find anything.

What i’m trying to do is have a Moralis Cloud function ping my local webserver whenever chain events are detected.

Try using something like ngrok or pagekite.

Thanks @alex , ngrok work’s great despite having to pay for a stable domain.

I think this would be a great opportunity for the Moralis team to build this functionality into their frps server since they are already assigning us a stable domain so we don’t have pay/use more middlewear to get one

You can suggest that at https://roadmap.moralis.io/

How long did it take to setup? Ease of use and reliability probably justifies that cost if you plan to keep doing this.

If you setup port forwarding and open a port on your router then you can make a direct http request to your local server.