刚刚学习安装了MongoDB,版本4.4.0 ;然后成功启动后访问
http://localhost:27017/ 显示
It looks like you are trying to access MongoDB over HTTP on the native driver port.
控制台的日志怎么感觉不太对啊? 我看别人的日志不是这样的,我这个怎么是json格式的字符串?
{"t":{"$date":"2020-08-20T19:58:00.210+08:00"},"s":"W", "c":"CONTROL", "id":20698, "ctx":"main","msg":"***** SERVER RESTARTED *****","tags":["startupWarnings"]}
{"t":{"$date":"2020-08-20T19:58:00.212+08:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2020-08-20T20:31:27.953+08:00"},"s":"I", "c":"CONTROL", "id":23138, "ctx":"consoleTerminate","msg":"Shutting down","attr":{"exitCode":12}}