VirtualBox – Not able to access guest from the host OS

Solution to the problem of not being able to access the guest OS from the host in VirtualBox is given with steps.