简体   繁体   中英

Host name and Port number for Virtual box

你能告诉我如何找出安装在 Virtual Box 上的 Ubuntu 16.04 的主机名和端口号吗?

In the network options of the Virtual box. Change the Network adapter attached type to Bridged Adapter(By default it is set to NAT) and run command "ifconfig" in terminal(Restart is required). IP address is displayed as a result. Generally the port number is set to 22 if you want to access ubuntu installed on Virtual box from Windows via ssh.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM