a month ago
Allow accessing private services (service-a.railway.internal) via railway cli.
It's not necessarily to access the same domain in browser. An idea is to behave tlike any nodejs app started. For example (nom start) and console would print (visit localhost:3001).
It's nice if using railway cli we can do something similar (railway bind service-a) and then we can visit (localhost:5585) and see it.
Port is randomized.
I know we can use tailscale for this. But due to limitations. You cannot access services from all environments in a project, or even multiple projects. Unless you have to manually accept and reject routes ACL in tailscale dashboard to switch project or env.
Also another reason is i don't want to use any other service. Railway all the way to my destination.
0 Threads mention this feature
1 Replies
a month ago
Hello,
This is something we definitely want to do, but we unfortunately don't have any immediate plans to do it.
I know we can use tailscale for this. But due to limitations. You cannot access services from all environments in a project, or even multiple projects. Unless you have to manually accept and reject routes ACL in tailscale dashboard to switch project or env.
Yep, this is why I made this template - https://railway.com/deploy/tailscale-forwarder
With it, you will be able to connect to any number of services in any number of different environments. It's still not native, but it would be by far the best option.
Best,
Brody