Can't connect to CentOS Virtual machine's IP from w10 host machine via SSH

Discussions related to using VirtualBox on Windows hosts.
Post Reply
virtualamp
Posts: 1
Joined: 16. Aug 2020, 21:08

Can't connect to CentOS Virtual machine's IP from w10 host machine via SSH

Post by virtualamp »

Hello Guys,

I installed CentOS VM in Virtualbox with NAT network. The SSH connection is possible via loopback IP but not possible using the VM's IP.
ipconfig.JPG
ipconfig.JPG (78.04 KiB) Viewed 930 times
Please support me to enable SSH connection to virtual machine IP.

Thanks
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Can't connect to CentOS Virtual machine's IP from w10 host machine via SSH

Post by scottgus1 »

NAT and 'NAT network' behave like routers, and your host is on the 'internet'.Ports need to be opened in the NAT or 'NAT networkto get access from the host to the guest. See Virtualbox Networks: In Pictures.
Post Reply