Access the OS X VM application from a different host

To access the OS X VM application from a remote host, you need to first allow incoming connections on the host system (where the OS X VM is running) and then forward the OS X VM’s application ports to the host system’s ports.

To allow incoming connections to your host OS X system from other hosts, follow these steps:

  • Launch the “System Preferences” panel.
  • Click the “Security & Privacy” icon followed by the “Firewall” tab.
  • If the firewall is on, click the lock to make changes. Enter administrator credentials when prompted.
  • Click the “Turn Off Firewall” button.

    Firewall management

    NOTE: This will open all ports on your system for public access and could create a security risk. You should ensure that you have additional restrictions in place to ensure access from only trusted IP addresses or IP ranges.

  • Click the lock to save your changes and prevent them from being reset.

    Firewall management

The next step is to forward the application’s ports on the OS X VM (usually, ports 80 and 443) to the host’s ports, by following these steps:

  • Launch the manager by double-clicking the VM icon in the mounted disk image.
  • Select the “Network” tab in the manager.
  • Click the “Add” button to add a new forwarding rule and forward the OS X VM’s ports to the host. For example, the screenshot below forwards port 80 of the OS X VM to port 80 of the host.

Port forwarding

You should now be able to access the Bitnami application on the OS X VM from other hosts, by using the host system’s IP address and corresponding port - for example, by browsing to http://IP-ADDRESS/, where IP-ADDRESS is the host system’s IP address.

Last modification October 30, 2019