R
Railway4mo ago
IgnisDa

Refer to internal url

How do I use the internal ntwork url without hardcoding it?
Solution:
say you have service A and service B, if A wants to send something to B via the internal network then you can create a service variable on A that reference's B's private URL. Then in your code you can reference that service variable / environment variable which will be B's private URL
Jump to solution
4 Replies
Percy
Percy4mo ago
Project ID: N/A
IgnisDa
IgnisDaOP4mo ago
N/A
Solution
Fragly
Fragly4mo ago
say you have service A and service B, if A wants to send something to B via the internal network then you can create a service variable on A that reference's B's private URL. Then in your code you can reference that service variable / environment variable which will be B's private URL
IgnisDa
IgnisDaOP4mo ago
Thanks. I got it. ${{App.RAILWAY_PRIVATE_DOMAIN}}.
Want results from more Discord servers?
Add your server