简体   繁体   中英

How to let an outside service access my local enviournment

My backend is running in a local enviournment at http://localhost:1337 - using node js and strapi headless CMS.

I'm integrating credit card transaction and their system needs to send a POST request to my backend but it cannot be done since my enviournment is local.

Is there a simple way (hopefully) to enable access from the outside to my local env?

Thanks in advance

Hopefully you're exposing your localhost like that just for development purposes.

Check out https://ngrok.com/ and https://serveo.net/

Both are solid options and can be configured to expose PORT 1337

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM