Bjorn_K
(Björn)
13
I did a little more try and error maybe I did something in gernal wrong but after I did the following it worked:
- start mongod --bind_ip_all
- start mongo -host ip adress
- use admin (no user here even tho i created some before aperently only on local host…)
- create admin user as written above.
- restart mongod --auth --bind_ip_all
- connect from remote pc --> works
Thanks for your help guys propably i need to setup more now but im happy i got this far.
//but now if i connect with compas it tells me in mongod connection accepted but nothing is hown in compas on my remote pc. if i do it in visual studio code i at least get a message that it was successfully
2 Likes