How the virtual machine accesses the host nginx

in order to test compatibility under IE8, windows xp is installed in vm 14. The website is deployed under the nginx of the host, with 127.0.0.1 and port number 8045.
but the virtual machine cannot access it. For example, the host ip address is 192.168.1.8. You can access ping from the virtual machine, but you cannot access the item 192.168.1.8 br 8045.
is there any way to access it? ask for advice

.
Menu