Unable to connect with private network

Hey guys, I'm a bit unsure on how to use the internal network. I have a .net api that has a private network set up, and another node service that connects to the api. I tried using the private network but connection fails with.... FetchError: request to https://my-custom-url.railway.internal/api/auth/authenticate failed, reason: connect ECONNREFUSED Am I using the private url incorrectly? Please refer to the attached screenshot below and advise
4 Replies
Percy
Percy15mo ago
Project ID: 78ba77ba-a4eb-4fb4-a1cd-2b038bfaee2a
captparzival
captparzivalOP15mo ago
No description
Brody
Brody15mo ago
FetchError: request to https://my-custom-url.railway.internal/api/auth/authenticate failed, reason: connect ECONNREFUSED
you have not specfied a port in that url, the services may get nice domains but they are still very much internal, so you always need to specify the port its also worth noting that your app has to listen on all interfaces :: as the private network is ipv6 only
captparzival
captparzivalOP15mo ago
I see, thanks for the response. Let me check that out
Want results from more Discord servers?
Add your server