Comments on: Install MongoDB with RockMongo on CentOS 7 https://www.rosehosting.com/blog/install-mongodb-with-rockmongo-on-centos-7/ Premium Linux Tutorials Since 2001 Fri, 03 Jun 2022 08:43:37 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: admin https://www.rosehosting.com/blog/install-mongodb-with-rockmongo-on-centos-7/#comment-46299 Sun, 12 Nov 2017 07:04:50 +0000 https://www.rosehosting.com/blog/?p=19075#comment-46299 In reply to Andre.

We expect that http traffic is already allowed through the firewall. You can do this using the following commands:
firewall-cmd –zone=public –permanent –add-service=http
firewall-cmd –reload
If you are also unable to connect to the Mongodb and your log files says:Failed to connect to: 127.0.0.1:27017: Permission denied, you can use the following commands to fix the problem:
/usr/sbin/setsebool -P httpd_can_network_connect 1
service httpd restart

]]>
By: Andre https://www.rosehosting.com/blog/install-mongodb-with-rockmongo-on-centos-7/#comment-46297 Sun, 12 Nov 2017 06:42:41 +0000 https://www.rosehosting.com/blog/?p=19075#comment-46297 Why firewalld and SElinux setting are not defined? Did you disable them?

]]>