a year ago
I have a server deployed in a Railway project as a private service. I want to do a quick test of the server by sending a curl request to the health_check endpoint, but from what I can see, I can't do that without exposing it to the public internet.
Is there any way to hit an endpoint on an internal service, either through logging in via the Railway CLI or through the console interface? It may not be possible without generating a domain and exposing it publicly, but I wanted to ask just in case there was a path I could take for this. Just looking for a simple sanity check that the deployed server is running as expected.
2 Replies
a year ago
So I actually just found out about the health check feature: https://docs.railway.com/guides/healthchecks-and-restarts
That is what I am using now, and will probably work best for me. Still, curious if there are any other ways to ping an internal service without exposing.
a year ago
If you need access to the private network locally or from another external service, the recommended way right now is to use Tailscale (https://docs.railway.com/tutorials/set-up-a-tailscale-subnet-router)
Status changed to Awaiting User Response Railway • about 1 year ago
9 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 10 months ago