-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mongodb显示网络超时 #7
Comments
测试连接无账号密码本地 MongoDB 正常,你需要确认一下你本地的 MongoDB 服务是否启动正常,可以先用 MongoDB Compass 等工具连接测试一下。 |
我这还是显示网络超时,但是用其他工具是正常的,请问在哪能看到相关的日志?我在nohup.out里没看到MongoDB相关的连接日志 |
我觉得应该还是你应用启动环境的问题,应用启用的环境无法正常连接 mongo 数据库。你可以写个简单 mongo client 在 mayfly-go 启动环境中去试试能不能连上 mongo 数据库。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mongodb显示网络超时,连接的实例为无账号密码的,mongodb://127.0.0.1:27017
The text was updated successfully, but these errors were encountered: