Please I deployed an API built with django and used a custom domain same with the frontend which was built with react.
Now I need to use the internal address of the API for the frontend. I have added the internal address as a variable name.
But can’t get this to work. I’ve even tried adding the default port :10000 still doesnt work.
I then added the http protocol before but an error that it has to be served secured.
A React frontend will usually be connecting from the client-side, the browser. So, it will make requests to the public domain of your backend/API.
A Render Web Service only responds to public requests over HTTPS and it doesn’t expose any custom ports publicly.
If you still require assistance, please share specific details of the issue you are experiencing that may help us troubleshoot it with you, e.g. any logs/errors/output, specific URLs, reproduction steps, screenshot, etc.
Since the frontend was onrender, I taught I could use the local port and all on the url. Nonetheless I had left that issue and used the public domain since then.
If you can please check on my recent topic (question).