R
Railway

✋|help

Error comunicate with internal servicecs

TTonyS9/18/2023
I'm trying to make a post on a route that is in an internal service on railway = api-ecompleto.railway.internal , but it's not working, I tried with http, https and without, follow the code:
TTonyS9/18/2023
6e41b675-08ce-4b50-a9ac-760fd5c4f279
BBrody9/18/2023
you are missing a port in that url
these internal services may get a nice domain, but they are still very much private addresses without any sort of proxy
BBrody9/18/2023
if that's the port that service listens on then yes
TTonyS9/18/2023
yeh yeh
okkk
i ll try
ok so this is the correct port
but still not works
TTonyS9/18/2023
TTonyS9/18/2023
im just removed railway.internal this time
and add the correct port
BBrody9/18/2023
how do know thats the correct port
TTonyS9/18/2023
here
TTonyS9/18/2023
TTonyS9/18/2023
this is the api-ecompleto port
BBrody9/18/2023
that means you are listening on a random port railway assigns you, and 4001 when developing locally
set a PORT variable to 4001 in the ecompleto service variables
TTonyS9/18/2023
ok i ll try
BBrody9/18/2023
its also worth noting that your ecompleto service would probably need to listen on the host "::"

Looking for more? Join the community!

Recommended Posts
Unchanged repo fails to deploy on env var change.I had this exact setup running last night, and this morning when I changed an environment variable iIs it possible to host Unity project?I have a unity game development project which runs C# Since I already use railway for my other projCan't see organizations reposTitle.Please my images are not displaying after deploying on railway. I am new in web development.Please I am new to web development and first time deploying to railway. I have django drf backend wiISO 27001Hi this might be a dumb question but does Railway have the ISO 27001 certification or is that irreledeploying react with viteI've deployed a react app with vite, exposing network ip but I can't access it - says Application faOpenSSL error when using Bun + PrismaGetting an error when using Bun and prisma together. Prisma requires node to work, so start command Server isnt workingThe server suddenly stopped working. Could anyone explain what is going on?...How to deploy a project with multiple dockerfiles?Have project that has one `Dockerfile` for the backend service and another one `Dockerfile.celery` fWildcard DNS let user custom there domainI would like to know how to let's my users custom domain with CNAME to my domain DNS my DOMAIN CNABun with turborepo supportHey guys, Just switched over to bun from fastify but having some trouble setting it up properly to How does pro plan upgrade works for application? particularly Spring boot app...Hi all, I find it difficult to understand how pro plan upgrade works. I upgraded my Spring boot app Deploying Rust tries to copy binaries that don't exist.I'm not using my own nixpacks.toml, and railway is attempting to copy binaries that it doesn't need Cron skipingSo my Cron Schedule keeps skipping every time?Request to free up custom domainMy project id : 5df73bd5-7d04-40dd-9e57-97f1cdd89a60 Can u pls delete the given custom domain, it sPR PreviewsHi everyone. Is it possible to setup PR previews with it's own set of environment variables?Looking for way to run LibreTranslate as a service on railwayI'm looking for a way to run https://libretranslate.com on my railway instance. Ideally it would beRTT to nearby datacenter has gone way up in the past few daysRegions have been amazing and are super helpful for our use case. We host our database in AWS us-easPublishing .net 7 app - project file not foundHi, I'm new in railway and i'm faced with file structure problem. I heared that way to publish is sIssue with staging: The value needs to be expressed as a valid JSON string.i'm trying to make a dev and product env's, but now i created a service on the dev env and trying to