how can I connect to an onpremise sever through firebase functions

302 Views Asked by At

I'm trying to fetch data from a onpremise server through my firebase function. This server has an intranet ip which is not accessible externally. So, is it possible to get data from the onpremise server, which is not even connected to the internet.

1

There are 1 best solutions below

0
On BEST ANSWER

Cloud Functions execute on the Google Cloud Platform infrastructure and if you want a Cloud Function to get data from a server, you need to have it connected to internet (or to export its data to a machine that is connected to internet).