BE / FE communication (separate services)

Hey. I have a project setup with BE(DRF) and my FE(React Vite). I managed to get them both to build and run separately, but for I can't seem to get them to communicate with each other. FE is running on port 80, and be on port 8000. Running locally works. What I've tried so far: - I've added the PORT variable and set it to 8000 on my DRF and 80 on my FE. - I've updated the env variables on my FE to instead point to the internal url to my backend: VITE_BACKEND_URL=https://backend.railway.internal:8000 BE logs says absolutely nothing, stays quiet. No deploy logs updating. When communicating between two services within the same project, am I not supposed to be able to use this internal url? Am I misunderstanding something here? First time using Railway. I'm sure my description is ver vague for troubleshooting this so just let me know whatever you need. It's a private repo rn, but can invite to it.
2 Replies
Percy
Percy13mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percy13mo ago
No project ID was provided. Closing thread.
Want results from more Discord servers?
Add your server