Score:-1

Is it possible to connect a Nodejs server to multiple VPN?

qa flag

We are trying to connect a Nodejs server to multiple SQL databases. The problem is that every SQL Server database is in a different network with a different VPN. Is it possible to connect one server to these three machines? Our scheme

cn flag
What oe this even have t odo with Node.js or sql server? Routing and VPN are handled on OS level, there is nothing SQL Server or Node.JS specific in setting up VPN or routing tables.
Danubio avatar
qa flag
I am sorry, but I didn't know if it was relevant or not. I am not a network professional and I don't know a lot of things, that's why I used to ask. Thank you anyway.
cn flag
This is a place for pro admins - end ser or "me not know way around... superuser.com - they will teach you the basics of networking any programmer should know.
Danubio avatar
qa flag
Sorry, I didn't know about that.
cn flag
NP. Note that your problem CAN actually be brutally complicated if multiple databases seem to use the same network configuration - actually impossible if they are on the same (internal) IP.
Score:2
ar flag

Yes, it's possible, and even easy as long as the IP ranges don't overlap. That's normal routing for you; Longest prefix wins.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.