Anyway, select your virtual machine > Settings. Under Networking, for the network type NAT,expand the Advanced section toward the bottom. Then click on Port Forwarding. This will open a tablewhere you can input the necessary details. Host IP - the IP address of the interface you want to use; you may havemore than one, but the easiest solution is to just use localhost (127.0.0.1), because this will workeven if your other interfaces are down, or you don't have connectivity outside your host. Host Port - will be the 'virtual' address to which you willconnect. For example, for SSH, hint hint, we can map port 2222 to be the Host Port. This means ifyou connect to this port, you will effectively be connecting to the Guest IP at the relevant Guest Port specified in the table. Indeed, the other two fields are forthe virtual machine information, much like we did with our host.