Apps inside the same stack can communicate with each other using the Internal Name advertised inside the settings :
You can use this internal name inside Environment variables (recommended), configuration files or inside your app code.
For MySQL, this internal name replace the value “localhost” you may used to see on old school hosting providers.
Datastores (databases, Redis etc…) cannot communicate to the outside world so the internal name is your only way to reach the database from inside your stack.
Was this helpful?
0 / 0