R
Railway•13mo ago
ScarMundo

How i can see the ip of my server?

Could someone help me to know what is the ip of my server? I need it to connect my database. Thank you
Solution:
sorry railway does not have static IPs, the IP of your service is dynamic and could change from deploy to deploy, the current IP would not be suitable to use in a whitelist, instead you would have to allow all IP addresses with the 0.0.0.0/0 CIDR range
Jump to solution
11 Replies
Percy
Percy•13mo ago
Project ID: 4a6c64f2-f6bf-4a25-b171-f441b039e529
ScarMundo
ScarMundo•13mo ago
4a6c64f2-f6bf-4a25-b171-f441b039e529
Solution
Brody
Brody•13mo ago
sorry railway does not have static IPs, the IP of your service is dynamic and could change from deploy to deploy, the current IP would not be suitable to use in a whitelist, instead you would have to allow all IP addresses with the 0.0.0.0/0 CIDR range
ScarMundo
ScarMundo•13mo ago
Okay thanks for your help bro
Brody
Brody•13mo ago
no problem! 🙂
ScarMundo
ScarMundo•13mo ago
Hey @Brody I can see the port of my server?
Brody
Brody•13mo ago
the external port is always 443, it cant be anything else
ScarMundo
ScarMundo•13mo ago
I'm making an express application and nodejs Okay thanks
Brody
Brody•13mo ago
but please read this, since this is what you are actually asking for, it has a code snippet you will need https://docs.railway.app/troubleshoot/fixing-common-errors
ScarMundo
ScarMundo•13mo ago
Okay
Brody
Brody•13mo ago
and just a friendly reminder about pings 🙂 #🛂|readme #5