user3249123423
🔧 Need Help with Private Networking Between NestJS and Flask on Railway 🔧
Hello everyone!
I'm currently working on a project that involves two backends hosted on Railway:
1. Main Backend: Built with NestJS, exposed to the public.
2. Secondary Backend: Built with Python Flask, not exposed to the public, intended to communicate with the NestJS backend through private networking.
Both backends are part of the same project on Railway, i've configured the Flask backend's URL in the NestJS settings as follows:
This results in the URL:
http://flask.railway.internal:5000
The Flask server is up & running on PORT 5000, deploy logs:
Issue:
When triggering an action that triggers NestJS to communicate with the Flask backend, I encounter an issue where the NestJS fails to connect to the Flask backend.
NestJS Deploy Logs:
It seems like the IPV6 address from the private network is resolved correctly.
Python Flask main.py:
NestJS main.ts:
Any help would be greatly appreciated!
Thank you! 🙏6 replies
BTCPay Server on Railway
Hi, is it possible to host BTCPay Server on Railway? I can’t get it to work with the official Docker image.
https://docs.btcpayserver.org/Docker/
15 replies