質問編集履歴
1
ターミナル追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -82,6 +82,28 @@
|
|
82
82
|
|
83
83
|
|
84
84
|
|
85
|
+
```
|
86
|
+
|
87
|
+
[vagrant@localhost nodejs]$ mongo 192.168.33.10
|
88
|
+
|
89
|
+
MongoDB shell version v3.6.2
|
90
|
+
|
91
|
+
connecting to: mongodb://192.168.33.10:27017/test
|
92
|
+
|
93
|
+
2018-01-27T16:59:24.142+0900 W NETWORK [thread1] Failed to connect to 192.168.33.10:27017, in(checking socket for error after poll), reason: Connection refused
|
94
|
+
|
95
|
+
2018-01-27T16:59:24.142+0900 E QUERY [thread1] Error: couldn't connect to server 192.168.33.10:27017, connection attempt failed :
|
96
|
+
|
97
|
+
connect@src/mongo/shell/mongo.js:251:13
|
98
|
+
|
99
|
+
@(connect):1:6
|
100
|
+
|
101
|
+
exception: connect failed
|
102
|
+
|
103
|
+
```
|
104
|
+
|
105
|
+
|
106
|
+
|
85
107
|
やってみたこと
|
86
108
|
|
87
109
|
/etc/mongod.confの中を変更
|