【问题标题】:how can I connect to an onpremise sever through firebase functions [closed]如何通过firebase功能连接到本地服务器[关闭]
【发布时间】:2019-04-17 02:48:10
【问题描述】:

我正在尝试通过我的 firebase 功能从本地服务器获取数据。 此服务器有一个内部网 ip,外部无法访问。 那么,是否有可能从甚至没有连接到互联网的本地服务器获取数据。

【问题讨论】:

  • Cloud Functions 在 Google Cloud Platform 基础架构上执行,如果您希望 Cloud Functions 从服务器获取数据,您需要将其连接到互联网(或将其数据导出到已连接的计算机上)到互联网)
  • 听起来像是雷诺的回答! @Akhil:如果无法从公共 Internet 访问 Intranet 服务器,则在 Cloud Functions 中访问其数据的唯一方法是,当您从 确实的设备调用该函数时传入该数据> 可以访问内网服务器。
  • 同意!我想我得到了答案。谢谢@RenaudTarnec!

标签: node.js firebase google-cloud-functions serverless-architecture


【解决方案1】:

Cloud Functions 在 Google Cloud Platform 基础架构上执行,如果您希望 Cloud Functions 从服务器获取数据,您需要将其连接到互联网(或将其数据导出到连接到互联网的机器)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-05
    • 2012-12-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多