Localhost Access on VirtualBox IIS

I host a virtual machine (Windows 7) on my machine through VirtualBox. I am using a bridge connection with my laptop. I am trying to access localhosta virtual machine from another computer on the network. When I use ipconfigfrom my main machine, I get:

Ethernet adapter VirtualBox Host-Only Network:

Connection-specific DNS Suffix  . :
Link-local IPv6 Address . . . . . : fe80::9538:86c4:59e3:a43f%23
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0

When I try to access 192.168.56.1, I cannot load the page. I can ping 192.168.56.1and get a response, but I'm not sure if this is the correct IP address to use.

I also tried using the IP address from the guest machine (VM)

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix  . :
Link-local IPv6 Address . . . . . : fe80::9538:86c4:59e3:a43f%23
IPv4 Address. . . . . . . . . . . : 192.168.2.24
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1

but I can not get the answer when ping 192.168.2.24from my host. Any suggestions here?

+4
2

, . IP-, , 192.168.2.24

+4

. , HTTP- , .

"" firewall with advance security Windows Firewall with Advanced Security. Inbound Rules, World Wide Web Service (HTTP Traffice In) . . , IP- .

Image showing enabling HTTP traffic in Windows firewall

+1

Source: https://habr.com/ru/post/1547636/


All Articles