I am building an app using react & Nodejs framework.I can access all of data via axios url ( Adresse IPv4:8000). But I had to deploy it to amazon db for production so the axios ip needs to change by amazon ip for requesting to the url. I tried to test in in localhost before deploy it & the api doesn't work why? and What is the best way to do this for production?
↧