I set up NextJs app as a web service on App Platform
While build and deployment are successful, I receive on the app url:
localhost refused to connect.
Logs show no errors
I can view the correct url but others cannot
It redirects to local host
My env variables may be the issue due to the port binding
AUTH_URL=http://localhost:8080/api/auth BASE_URL=http://localhost:8080/ NEXT_PUBLIC_API_URL=http://localhost:8080/api
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!