I have setup a fresh VirtualBox install of both Kali Linux and Metasploitable. I did an
ifconfig on the Metasploitable VM and tried to access it through the browser, but that gives the message
The 10.0.2.15 page isn’t working
From Kali I am able to successfully ping the Metasploitable VM, but can't access the web server. When I run nmap it reports
All 65536 scanned ports on 10.0.2.15 are closed instead of showing the expected open ports.