Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Snap: Allowing changing mongodb interface

Open saigop opened this issue 10 years ago • 7 comments

Your Rocket.Chat version: 0.46.0 Ubuntu Version - 16.04 Installed via snap package manager

Hope mongodb is the tool used for storage. Am trying to monitor the mongodb service remotely, but trying to see the open port 27017, the connection refused, while checking netstat the port is not open for 0.0.0.0

To enable this, I need to open in mongod.conf file, which I See the file is missing, I tried this in 2 installation with same Ubuntu 16.04 and installed via snap.

But still I see the conf file is missing. Do i need to create manually?

Thanks in advance.

saigop avatar Dec 01 '16 09:12 saigop

Opening up your database to the internet is one of the worst things you can do, just don't do it. ssh into your machine and connect to it that way if you so desire.

lucasvanhalst avatar Dec 01 '16 09:12 lucasvanhalst

Agree, but basically I want to monitor the rocket chat service and mongodb service from icing a for any production impact.

saigop avatar Dec 01 '16 09:12 saigop

Or even for monitoring I can bindip only the monitoring instance alone. Even for that too, I have to enter into mongod.conf file.

saigop avatar Dec 01 '16 09:12 saigop

@saigop yes we actually set it to only listen on the loopback interface. Lets change the title of this and make it into a feature request, as to fix this for you we would have to allow the changing of listen interfaces.

geekgonecrazy avatar Dec 01 '16 21:12 geekgonecrazy

Hello

Any development on this open issues... ?

Thnx

mehdiyahyaoui avatar Jan 04 '18 17:01 mehdiyahyaoui

None currently. We'll reference this issue when we open a PR that closes this.

geekgonecrazy avatar Jan 04 '18 20:01 geekgonecrazy

Available in the later releases.

debdutdeb avatar May 31 '22 13:05 debdutdeb