How can I access my virtual host like http://copywriters.localhost
inside my Windows 10 VirtualBox?
I already set this:
In VM Host File:
10.0.2.2 localhost
10.0.2.2 copywriters.localhost
In my Host PC:
127.0.0.1 copywriters.localhost
I can ping http://copywriters.localhost in VM. But can access on browser.
localhostwith a different address (10.0.2.2 localhost)! Can you connect to your host system using the IP address? – Melebius Oct 09 '18 at 07:18http://10.0.2.2/phpmyadminbut can't connect using thishttp://localhost/phpmyadminin my VM – TRD-Warren Oct 09 '18 at 07:4210.0.2.2 copywriters.localhostshould be sufficient AFAIK. – Melebius Oct 09 '18 at 07:43127.0.0.1 copywriters.localhostis not correct. Assuming it's a bridged network, you need the same10.0.2.2 copywriters.localhostrule. – RobotHumans Oct 09 '18 at 12:43