2 months ago
Project ID: d80a0f28-9735-4a66-ac9c-da1ec1bbed51?
I have only one single user. It's not possible to get this high traffic.
Pinned Solution
2 months ago
You can use reference variables to connect your backend to your database instead of using the public URL.
It would look something like this: ${{Postgres.DATABASE_URL}} (If I had a postgres database)
10 Replies
2 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • about 2 months ago
2 months ago
Estimated bills may not be accurate. I would suggest calculating/estimating your costs based on your current usage.
0x5b62656e5d
Estimated bills may not be accurate. I would suggest calculating/estimating your costs based on your current usage.https://railway.com/pricing
2 months ago
It is accurate this time, they are connecting to their databases via the public network.
brody
It is accurate this time, they are connecting to their databases via the public network.
2 months ago
What should I do then?
2 months ago
I would recommend you connect your database to your application via internal networking to minimize egress costs. (This will only work if you have a backend)
2 months ago
Yes, I do have backend. What should I do to connect using the internal networking? I'm new to railway.
0x5b62656e5d
I would recommend you connect your database to your application via internal networking to minimize egress costs. (This will only work if you have a backend)
2 months ago
Yes, I do have backend. What should I do to connect using the internal networking? I'm new to railway.
2 months ago
0x5b62656e5d
You can use reference variables to connect your backend to your database instead of using the public URL.It would look something like this: ${{Postgres.DATABASE_URL}} (If I had a postgres database)
2 months ago
Thank you for your help. It's down to 150. Still very high for a single user application though.
2 months ago
I think it might take a bit for Railway to adjust to the update, but I'm not sure.
Status changed to Solved brody • about 2 months ago
