質問編集履歴

1

他の実行結果を追記する

2021/04/28 14:27

投稿

kensho-
kensho-

スコア6

test CHANGED
File without changes
test CHANGED
@@ -49,3 +49,35 @@
49
49
  mynameMacBook-Air:gotest myname$
50
50
 
51
51
  ```
52
+
53
+
54
+
55
+
56
+
57
+ また
58
+
59
+ mongo
60
+
61
+ を実行すると下記のようなエラーが出てしまっている状態です。
62
+
63
+ ```ここに言語を入力
64
+
65
+ mynameMacBook-Air:gotest myname$ mongo
66
+
67
+ MongoDB shell version v4.4.5
68
+
69
+ connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
70
+
71
+ Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused :
72
+
73
+ connect@src/mongo/shell/mongo.js:374:17
74
+
75
+ @(connect):2:6
76
+
77
+ exception: connect failed
78
+
79
+ exiting with code 1
80
+
81
+ mynameMacBook-Air:gotest myname$
82
+
83
+ ```