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?
![](https://utfs.io/f/5fd07c32-e291-42b9-9b21-fc046be10dad-1xeej5.png)
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?
![](https://utfs.io/f/eb5a8a44-48f2-4747-8cbf-f4360480f0e0-1nq2cb.png)
@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