Get Vercel Server IP
Hey guys, API I’m trying to incorporate wants my server IP. As Vercel can’t provide this due to the nature of serverless, is there any work around? Or I really gotta deploy an entire seperate API on Railway or something just for one endpoint?
6 Replies
afaik, you'd need to use something else to work around them wanting a static ip
i would just make a simple api that just forwards the info back and forth (with a secret attached to each message to prevent someone else using it for themselves; perhaps a signature of some kind)
Yeah that’s what I’ll end up doing, just wanted to make sure I wasn’t missing anything. Cheers for the help!
did you take a look at the article linked?
@Cody P
Yeah, it just states that you should wildcard IP access if you can
Next question: how do I find my IP of a Railway server?
Generate a domain (if you haven't generated or assigned a domain), then do
dig <domain>
. However, Railway doesn't offer static IPs so that can change (probably on redeploy, never needed to look). https://feedback.railway.app/feature-requests/p/staticdedicated-ips