R
Railway

✋|help

About Private networking

Ssang.dang8/24/2023
Hi, I saw Railway has https://docs.railway.app/reference/private-networking Private network domain, do I understand correctly, that with this feature, I can use it to call between services as long as they are hosted on Railway? For example from the frontend service, I can call http://backend.railway.internal/api/posts to get the posts from backend?
Solution:
I can call http://backend.railway.internal/api/posts to get the posts from backend
yes, only if this call is made from the sever side of for example a nextjs app
Jump to solution
Ssang.dang8/24/2023
N/A
Solution
Bbrody1928/24/2023
I can call http://backend.railway.internal/api/posts to get the posts from backend
yes, only if this call is made from the sever side of for example a nextjs app
Bbrody1928/24/2023
sidenote, you would need to set that backend to listen on a fixed port, and then use the port in the url when calling that internal domain
Ssang.dang8/24/2023
thanks @Brody , so it's similar to http://localhost:1337 😄 ?
Bbrody1928/24/2023
very similar, just with friendly domain names

Looking for more? Join the community!

Recommended Posts
refundThe estimated bill is $5, but the actual cost is $11.99, which is much higher than expected. I requeHelloHello, I added cascade = CascadeType.ALL to a OneToMany relationship in my DB. Works locally, but deCannot create code snapshot right nowProject ID `a0e71e1d-430e-45cc-95c5-af153af61c1c` "Cannot create code snapshot right now, please reDeploy my app on Railway (Cost)Hello, Actually I have an API made with Nodejs + Express about Real Estate so I wanna recommendatioHow do you add a worker to a Procfile?It seems that Railway only accepts "web", so how can I add a "worker" to a Procfile?Cannot create code snapshot right nowUnable to deploy across multiple services, both using CLI and branch-triggered deploys. The deploy lhosting fivem (https://fivem.net) server on railwaywould it be possible to host fivem on railway? there is linux binaries for hosting the server. is thHelp configuring express app for use with storage volumeHi, I hope this is the right forum for this question. I have an express app that is using middlewareNo waiving of $5 dollar fee, even though qualified.Can someone clarify the rules for having the fee waived? Based on the blog article from Railway, my Environment Merging Doesn't WorkI created a new project and accidentally started an environment fork / merge thing. Now my staging hHow to remove files/foldersHi, im new in railway and i have to remove my node_modules folder because i get some issues. It seemcan't access deployed serviceSeems deployment completed when trying to access can't open page displayed. Tried with https://whizsAfter redeploying, I lost the uploaded images in the directoryAfter redeploying, I lost the uploaded images in the directory. My project uses Spring Boot v3.1.2 +help gettiing www subdomain wokringI have had a long discussions with railway team on working of www subdomain on my account ssdo.org.pSimple next.js build faildeployment ID 6b59c99d-f9d1-42bb-9733-67e02909cdc5 Repo: https://github.com/ballermatic/nextjs-shadcDatabase credentialsHello, my Railway starter plan has expired and I want to make a copy of my postgres database but iRunning python script [userbot]Hello so I have this python script that is used to automate something with email account can i use I need help on deploying my development database to production without losing any dataI mistakenly ran the command `npx prisma migrate dev` on my production env but did not accept when t