Comments (3)
你部署在哪了?在本地环境测试的mongodb是否正常启用?部署环境的mongodb是否需要用户名和密码?
from n-blog.
Error: Error connecting to database: failed to connect to [127.0.0.1:27017] 我访问首页遇到这个报错,求指教
from n-blog.
- 检查mongodb是否启动,以及是否有权限认证
- 可能是 connect-mongo 版本的问题,升到最新,改下配置
from n-blog.
Related Issues (20)
- Where I can find the CI service?
- Node HOT 2
- 4.4.4章节,在敲完代码执行supervisor index.js命令后,报如下错误,是path 类型不对吗 TypeError: Cannot read property 'length' of undefined at pathtoRegexp (/Users/wubaolin/Desktop/myblog/node_modules/path-to-regexp/index.js:63:49),Starting child process with 'node index.js' /Users/wubaolin/Desktop/myblog/node_modules/path-to-regexp/index.js:63 path = ('^' + path + (strict ? '' : path[path.length - 1] === '/' ? '?' : '/?'))
- pm2进程开启后无反应 HOT 2
- 1.楼主有网站实例可以查看吗 HOT 1
- index.js 添加 模板变量的必需的三个变量时 报错 user is not defined 解决方案
- 注册时, 提示Callback must be a function 的解决方案 HOT 5
- 今天 已完成 扩展学习分页 HOT 1
- brew tap mongodb/brew 报错
- 用mongoose实现数据库操作,大家一起学习,嘿嘿嘿
- 将项目放在阿里云centos上访问不到。 HOT 2
- Possible Stored XSS Vulnerability in N-blog
- 好像所有图片失效了 HOT 1
- fs.unlink()需要加入回调参数
- 211
- 楼主你的打赏码不支持黑暗主题?
- Bam
- connect-mongo更新了 HOT 3
- नोड में अनुप्रयोग लोडर काम नहीं कर रहा है। - HOT 3
- 能部署到阿里云函数计算吗? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n-blog.