shoebappa / vagrant-meteor-windows

A vagrant provisioner for running Meteor on Windows
73 stars 12 forks source link

Question: Meteor Mongodb Connection #14

Closed daKmoR closed 10 years ago

daKmoR commented 10 years ago

hey,

I'm trying to connect to the meteor mongodb from the host system. I'm on windows 8.1 but I don't have any luck :/

I tried setting some port forwarding

config.vm.network :forwarded_port, guest: 3002, host: 3684

but connection to localhost on port 3684 with the gui "MongoVUE" doesn't seem to work (on host) :/

Unable to connect to server localhost:3684: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

if I'm on the guest and do a

$ mongo meteor --port 3002

it work, so I guess the port is the correct one...

I tried to directly connect via 10.11.12.13 on port 3002 but that won't work either..

Unable to connect to server 10.11.12.13:3002: No connection could be made because the target machine actively refused it 10.11.12.13:3002.

So I guess this is forbidden... do you know how to allow this?

I was just wondering how do you directly work or modify the meteor mongodb?

I'm sorry for bothering you with this, but I'm not sure how to continue. Can't find anything on google and all I could think of failed... maybe you have some ideas?

daKmoR commented 10 years ago

like 5 Minutes after I posted this... I found a solution... :p it's always the same :p

razorsql has a option to connect via ssh... MongoVUE had this too, but apparently it does not work (same strange error)... anyway with razorsql via ssh tunnel it work... :)