R
Railway3mo 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
Percy3mo ago
Project ID: N/A
IgnisDa
IgnisDa3mo ago
N/A
Solution
Fragly
Fragly3mo 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
IgnisDa3mo ago
Thanks. I got it. ${{App.RAILWAY_PRIVATE_DOMAIN}}.
Want results from more Discord servers?
Add your server