How access MongoDB

22 views
Skip to first unread message

mcolla

unread,
Jul 5, 2019, 1:36:59 PM7/5/19
to Vagrant
Hi everyone,

My default SO is Win10. I have a VM with CentOs, and MongoDB inside. How access MongoDB?
I want access Mongo using Studio 3T, installed on my Win10.
I try configure in vagrantfile using:
config.vm.network "forwarded_port", guest: 27017, host: 27017
  config.vm.network "forwarded_port", guest: 28017, host: 28017
But didnt works :(
Thanks

Alvaro Miranda Aguilera

unread,
Jul 20, 2019, 12:30:53 PM7/20/19
to vagra...@googlegroups.com
whats the output of netstat -ano from windows ?

check around those ports you are interested and share the output here


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/4132922d-e28b-47d0-bbec-344b00523251%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

mcolla

unread,
Jul 22, 2019, 10:11:35 AM7/22/19
to Vagrant
See this:

  TCP    0.0.0.0:16992          NOTE05:0               LISTENING
  TCP    0.0.0.0:27017          NOTE05:0               LISTENING
  TCP    0.0.0.0:28017          NOTE05:0               LISTENING
  TCP    0.0.0.0:35729          NOTE05:0               LISTENING


Em sábado, 20 de julho de 2019 13:30:53 UTC-3, Alvaro Miranda Aguilera escreveu:
whats the output of netstat -ano from windows ?

check around those ports you are interested and share the output here


On Fri, Jul 5, 2019 at 8:37 PM mcolla <michae...@gmail.com> wrote:
Hi everyone,

My default SO is Win10. I have a VM with CentOs, and MongoDB inside. How access MongoDB?
I want access Mongo using Studio 3T, installed on my Win10.
I try configure in vagrantfile using:
config.vm.network "forwarded_port", guest: 27017, host: 27017
  config.vm.network "forwarded_port", guest: 28017, host: 28017
But didnt works :(
Thanks

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagra...@googlegroups.com.


--
Alvaro

Alvaro Miranda Aguilera

unread,
Aug 5, 2019, 11:46:40 AM8/5/19
to vagra...@googlegroups.com
try disabling firewall on the VM and the host

the ports looks fine

To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/2cc09439-7345-483b-9813-17bd18fe575e%40googlegroups.com.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages