Portforwarding working but private_network setting not...why?

76 views
Skip to first unread message

sanan

unread,
Dec 25, 2016, 6:52:40 PM12/25/16
to Vagrant
Hi,

I am new to this group. And have joined with a hope to resolve the issue that I am facing for last two days. 

Can you please help me to setup private network configuration in my vagrant box. I have windows 10 pro laptop with strong hardware configuration. I am connected to wifi. I am able to create base vagrant box with windows 2012 without any problem. When I run vagrant up. That also goes smooth. But when I run vagrant rdp to login into it, it throws following error message:
C:\V_images\VagrantBoxes\JiraServer>vagrant rdp ==> default: Detecting RDP info... RDP connection information for this machine could not be detected. This is typically caused when we can't find the IP or port to connect to for RDP. Please verify you're forwarding an RDP port and that your machine is accessible.

I have attached my vagrant file, the output from vagrant up command, json file that I used to create the base box with packer, vagrant template referred in json file and output of ipconfig /all command from my laptop (host machine). can you please help to find my mistake? please let me know if you need more information.. Please note that if I replace the private_network setting with port forwarding setting or keep both, then rdp is successfull. Infact after logon I am even able to see the assigned ip address in guest machine, though it can not be pinged to, from the host machine. But private_network paramenter alone does not work. thanks
sanan
Vagrantfile.txt
vagrantup.output
windows_2012_r2_headlesstrue_noupdate_nocompact.json
vagrantfile-windows_2012_r2.template
ipconfigall.output

sanan sanan

unread,
Dec 26, 2016, 3:12:28 AM12/26/16
to vagra...@googlegroups.com
Hi,

Can somebody help me about this, please? it would be a big help

thanks
sanan

--
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 a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/0wuIn28RaMg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/558286a8-a061-4182-aa60-96f1dfff1cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alvaro Miranda Aguilera

unread,
Dec 26, 2016, 9:34:16 AM12/26/16
to vagra...@googlegroups.com
Hello.

Try to add a port forward to 3389


Alvaro.

On Mon, Dec 26, 2016 at 12:52 AM, sanan <sanan...@gmail.com> wrote:

--
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+unsubscribe@googlegroups.com.



--
Alvaro

sanan sanan

unread,
Dec 26, 2016, 10:04:00 AM12/26/16
to vagra...@googlegroups.com
Hi Alvaro,

Thanks for your reply . Actually, now I have uninstalled VirtualBox and trying VMWare. Though having problem with that aswell. Have opened another email about that.

Thanks.

You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/0wuIn28RaMg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyO50QZS1uQVKM6dFyGs0RUdsL2Qq9iHwRXdAonsg0zrQ%40mail.gmail.com.

Alvaro Miranda Aguilera

unread,
Dec 26, 2016, 10:30:20 AM12/26/16
to vagra...@googlegroups.com
in both cases same suggestion apply.

Alvaro


For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages