R
R
rizzli2015-09-20 09:12:42
Java
rizzli, 2015-09-20 09:12:42

How to set up remote access to MongoDB correctly?

Set up remote access to mongo (/etc/mongod.conf commented out bind_ip) .
But it turns out to connect only via mongodb://, and various java applications cannot connect (umongo, mViewer, Meclipse) give authorization errors. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lega, 2015-09-20
@lega

- you can kill access via iptables
- you can do vpn or port forwarding (for example, via ssh in one command)
- you can do login/password (not recommended)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question