vanishcode / Blog

vanishcodeのblog
https://vanishcode.com
6 stars 0 forks source link

MongoDB远程连接失败原因 #93

Open vanishcode opened 5 years ago

vanishcode commented 5 years ago

Mongo启动默认只监听127.0.0.1,不监听外网,所以应该在配置文件里把127.0.0.1改为0.0.0.0