How Can I access to my virtual machine with ip?

18,948

Solution 1

type this from your host os
and you have to open the port 80 from guest OS (Ubuntu)
http://you_virtual_machine_ip

Solution 2

If you use bridged network and your VM is on Ubuntu 10.10. One easy way is to use ssh. By default ssh is installed and configured in Ubuntu 10.10. You can connect to it by :

ssh you_virtual_machine_ip

ssh is a powerful tool and your can run scripts when connected to the host. If you are in Windows System, Putty is a great tool of ssh client.

Share:
18,948
esquare
Author by

esquare

Updated on June 05, 2022

Comments

  • esquare
    esquare almost 2 years

    I have Oracle Virtual Box installed on Ubuntu 10.10. I want to gain access to my script that runs on local. My virtual operating system connects via network and takes an ip address, but how would someone access my script that runs on local? Which ip address can be used?