You can change the IP address of the local host to any host IP in your hosts file.
If the vm machine is a window, the file is located in the c: \ windows \ system32 \ drivers \ etc \ hosts directory
just open the hosts file in notepad and edit
127.0.0.1 localhost
to
192.168.0.1 localhost
not sure if it works, but you can try
trembon
source share