I have installed XAMPP in a virtual machine with VirtualBox. I run both Apache and MySql and there aren't any errors.
I can access phpmyadmin from this virtual machine but if I try to run it on the real machine, I can't get it.
I tried to put http://IP of the virtual machine/phpmyadmin but it doesn't work.
If I put only http://IP of the virtual machine I can see a webpage in which it says "It works".
If I try to use http://localhost in the virtual machine I can see a page in which I see "XAMPP" and where I can choose the language in which I want to use it.
I want to use phpmyadmin from real machine.