From the course: Learning VirtualBox (2020)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Forwarding ports for services - VirtualBox Tutorial
From the course: Learning VirtualBox (2020)
Forwarding ports for services
- [Instructor] Frequently, virtual machines are used for development tasks and for other purposes that require access to a specific network port. If a guest is operating in bridge networking mode, we'll be able to access the ports on the guest unless they're blocked by a firewall because the guest is participating in the network just like other systems. But if a guest is in one of the NAT modes, we don't have a way of getting to the ports that a guest might be using to run a service because the guest is on a different network. VirtualBox gets around this limitation by allowing you to map or forward a port from a guest to a port on the host, making whatever service is running on that guest port accessible at the host's address with a different port. Let's take a moment and install a web server here in the guest. I'll install Apache and if your guest is running Windows, you can install XAMPP or a similar product to…
Contents
-
-
-
-
-
-
(Locked)
Explore the Virtual Machine window9m 27s
-
(Locked)
Explore virtual machine settings6m 17s
-
(Locked)
Managing disks and memory4m 23s
-
(Locked)
Networking with VirtualBox4m 35s
-
(Locked)
Modifying network settings4m 31s
-
(Locked)
Forwarding ports for services4m 21s
-
(Locked)
Using host hardware in a guest OS3m 13s
-
(Locked)
Importing and exporting appliances3m 55s
-
(Locked)
Working with snapshots and clones4m 29s
-
(Locked)
Shared folders, clipboard, and drag and drop5m 33s
-
(Locked)
Using the VirtualBox command-line tools6m
-
(Locked)
Advanced disk usage4m 29s
-
(Locked)
Removing or deleting a virtual machine2m 33s
-
(Locked)
-