Hi Gabo,

After adding one more NIC card and putting it on DCHP, now bi-directional 
ping (gest to host and host to guest) is possible, but still i'm surprised 
it is not able to ssh into guest VM. i'm getting the following message 

2017/12/20 14:54:35 packer: 2017/12/20 14:54:35 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:54:40 packer: 2017/12/20 14:54:40 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:54:45 packer: 2017/12/20 14:54:45 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:54:50 packer: 2017/12/20 14:54:50 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:54:55 packer: 2017/12/20 14:54:55 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:55:00 packer: 2017/12/20 14:55:00 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:55:05 packer: 2017/12/20 14:55:05 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:55:10 packer: 2017/12/20 14:55:10 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:55:15 packer: 2017/12/20 14:55:15 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:55:20 packer: 2017/12/20 14:55:20 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:55:25 packer: 2017/12/20 14:55:25 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused
2017/12/20 14:55:30 packer: 2017/12/20 14:55:30 [DEBUG] TCP connection to 
SSH ip/port failed: dial tcp 172.15.0.40:3521: getsockopt: connection 
refused

Do you know why it is giving connection refused?

Thank you!
Regards
Ravi.

On Monday, December 18, 2017 at 3:40:29 PM UTC+5:30, [email protected] 
wrote:
>
> Hi Gabo
>
> There is a firewall on VM side when it is up, but after VM is started, i 
> disable it at runtime but even after disabling the firewall it does not 
> connect to Virtual Box VM.
>
> Regards
> Ravi
>
>
>>>>

-- 
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/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/5da8fd2a-06ca-4090-a434-7756b3344f8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to