Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Edge won't load local nginx website in Vagrant VM

I'm experiencing a strange issue with Microsoft Edge not loading a local Craft CMS website hosted inside a vagrant virtual machine. Any attempt to load the locally configured host name or IP, returns the "Hmm, we can't reach this page." error.

I have a line in my hosts file:

192.168.10.12 test.craft.dev

I've read various resources about Microsoft Edge not properly handling the hosts file properly, however not even the IPv4 address works either. I've tried several of the recommendations related to Internet Options tweaks but nothing works, it does seem however the hosts file is not the issue.

The network configuration uses NAT and sets an IP in the range of 192.168.10.x (defined by Homestead.yaml, if I assign a public_network and get an IP with my LAN network DHCP range, Edge can access this IP, but it doesn't explain why all other browsers work and Edge doesn't without it.

It's worth mentioning that the local Craft hostname will load fine in every other browser (including IE). Does Microsoft Edge have specific issues with loading local websites inside VirtualBox due to some network level issue?

like image 540
James White Avatar asked Jul 12 '16 15:07

James White


1 Answers

Install and run fiddler. It will do everything automatically.

like image 92
Yevgeniy Afanasyev Avatar answered Sep 28 '22 01:09

Yevgeniy Afanasyev