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.
Asked
Active
Viewed 280 times
0

Renaud Tarnec
- 79,263
- 10
- 95
- 121

Akhil
- 13
- 6
-
2Cloud 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 on a machine that is connected to internet) – Renaud Tarnec Nov 14 '18 at 07:55
-
1Sounds like an answer Renaud! @Akhil: if the intranet server can't be reached from the public internet, the only way to access its data in Cloud Functions is if you pass that data in when you call the function from a device that *does* have access to the intranet server. – Frank van Puffelen Nov 14 '18 at 14:45
-
1Agreed! I think I got my answer. Thank you @RenaudTarnec! – Akhil Nov 15 '18 at 04:45
1 Answers
0
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).

Renaud Tarnec
- 79,263
- 10
- 95
- 121