public URL for projects

hello , I'm hosting a Discord bot on Railway and I'm looking to keep it up 24/7. Before I dive into setting everything up, I just wanted to check, can i get a public URL for my project on Railway to use for uptime monitoring?
Solution:
of course railway gives you a railway subdomain for your service head to your service settings and generate one. but if you want to monitor the health of a bot you would be better off foregoing a public url monitor and instead use a heartbeat monitor...
Jump to solution
40 Replies
Percy
Percy10mo ago
Project ID: N/A
Solution
Brody
Brody10mo ago
of course railway gives you a railway subdomain for your service head to your service settings and generate one. but if you want to monitor the health of a bot you would be better off foregoing a public url monitor and instead use a heartbeat monitor
约 - Wick
约 - Wick10mo ago
can you please tell me how to get the url or if there's any videos show me how to get the url for doing uptime monitoring it
Brody
Brody10mo ago
does your bot run an http server too?
约 - Wick
约 - Wick10mo ago
yes
No description
Brody
Brody10mo ago
go to the service settings and click generate under the public networking section
约 - Wick
约 - Wick10mo ago
i cant find service settings xD sorry im new to railway can you show me with ss where to find the service settings ?
Brody
Brody10mo ago
close the deployment window and you will be in your service, click the settings tab
约 - Wick
约 - Wick10mo ago
here ?
No description
Brody
Brody10mo ago
yep exactly
约 - Wick
约 - Wick10mo ago
to show as nothing here yet
No description
Brody
Brody10mo ago
you just created the domain, please be patient
约 - Wick
约 - Wick10mo ago
ahh okay sorry
Brody
Brody10mo ago
should not take more than 2 minutes
约 - Wick
约 - Wick10mo ago
alright and after that is there any limit for like hours for uptime monitor or for hard usage ? im just asking for make sure of everything because i want to record a video of railway and share it in my yt channel
Brody
Brody10mo ago
well you are on the trial, the trial gives you 5$ in credits and once you deplete those credits your services will shut down and you will need to upgrade to hobby so not based on time, it's based on resource usage, and you get 5$ (only once) of resource usage
约 - Wick
约 - Wick10mo ago
it means i get limit for resource usage and can't make more projects if i get on limit yes ? or all my projects will shut down when i ran out of resource usage ?
Brody
Brody10mo ago
there is a limit to how many projects you can create, but you shouldn't run into it unless you start spam creating projects, the longevity of the trial plan is mainly based on how fast (or how slow) you use those 5$ of credits up, once you do, everything stops and you will need to upgrade to hobby (paid plan) to restart your stuff
约 - Wick
约 - Wick10mo ago
yeah i got it now , but its not that good xD i hope it built with when i ran out of resource usage just can't make more projects not make all my projects down
Brody
Brody10mo ago
it's actually very reasonable, it's a trial not a free plan
约 - Wick
约 - Wick10mo ago
I appreciate it this work and this is a really great thing
Brody
Brody10mo ago
hobby plan is only 5$ for the entire account and then you also get 5$ of credits every month (non accumulative)
约 - Wick
约 - Wick10mo ago
i get 5$ of credits every month for free ?
Brody
Brody10mo ago
you have to pay the 5$ subscription fee, but yes absolutely you do on the hobby plan
约 - Wick
约 - Wick10mo ago
got it , so on trail i just have to be careful for not spam making projects and ill be fine yes ?
Brody
Brody10mo ago
you will need to eventually upgrade to hobby, remember it's only a trial and you will end up using those credits up sooner or later
约 - Wick
约 - Wick10mo ago
yes got it , thanks a lot for help mate 😁
Brody
Brody10mo ago
no problem, is that domain working for you yet?
约 - Wick
约 - Wick10mo ago
xD
No description
Brody
Brody10mo ago
约 - Wick
约 - Wick10mo ago
i've opened on port 9000
Brody
Brody10mo ago
please read the docs page
约 - Wick
约 - Wick10mo ago
ill read it and try with other port yes ill now
Brody
Brody10mo ago
just gonna say this now, another port isn't what you want the docs page has the answer though, so I don't feel the need to repeat 🙂
约 - Wick
约 - Wick10mo ago
got it now salute
Brody
Brody10mo ago
it's working?
约 - Wick
约 - Wick10mo ago
yes with host 0.0.0.0
Brody
Brody10mo ago
perfect, any other questions?
约 - Wick
约 - Wick10mo ago
no i got everything clear now , thanks again for help
Brody
Brody10mo ago
no problem!
Want results from more Discord servers?
Add your server