alexellis / alexellis/mongodb-function

Cannot access with localhost:27017

未关闭
#3 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
53
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

Hi there, I meet some problem that access to the mongodb service

1. openfaas-db-mongodb successful running on the k8s cluter
2. and my function (based on node8-express-template) cannot connect to mongodb
3. logs are:
```shell
2018/07/17 17:53:14 stderr: (node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): MongoNetworkError: failed to connect to server [127.0.0.1:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017]
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。