Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Edge cannot reach VM with private IP

I have a webserver running in an VM (VirtualBox, configured with vagrant) which is assigned the private ip 10.0.0.20. I can reach the webserver with Google Chrome, but not with Microsoft Edge. I have activated Allow Localhost Loopback in about:flags.

Does anybody what could be the problem?

like image 883
Hackysack Avatar asked Mar 02 '16 07:03

Hackysack


People also ask

How do I connect to a VM using the IP address?

To connect to a VM using a specified private IP address, you make the connection from Bastion to the VM, not directly from the VM page. On your Bastion page, select Connect to open the Connect page. On the Bastion Connect page, for IP address, enter the private IP address of the target VM.

How do I enable localhost in edge?

Next, open Edge and enter about:flags in the address bar. Make sure that the "Allow localhost loopback" option is checked, and if not, enable it. Now you should be able to connect to your local server using the Edge browser.


2 Answers

Not sure about the root cause of the problem, but here are some options to work around this:

  1. Configure VM Networking to be Bridged rather than NAT;

  2. Use a proxy, e.g. Fiddler;

  3. Port forward, using netsh, ssh or other utilities.

For option 2 and 3, see this answer for details.

like image 138
pallxk Avatar answered Nov 15 '22 11:11

pallxk


I have the same problem and can't find a workaroud -- even after 2 years. I guess the final answer is: Stop using Edge.

Looks like Microsoft is dumping it: [https://arstechnica.com/gadgets/2018/12/post-mortem-tying-edge-to-windows-10-was-a-fatal-error/]

like image 44
AgilePro Avatar answered Nov 15 '22 11:11

AgilePro