I have a computer at home. There is a windows virtual machine in the computer. I have installed a set of wamp. It is only for my own use. I have made some API excuses. How can I connect to it outside?
I only know that what I debug is http. ://localhost/★★★★★★
But I don’t know how to use another computer to connect, how can I do it?
<code>Windows IP 配置 以太网适配器 本地连接: 连接特定的 DNS 后缀 . . . . . . . : localdomain 本地链接 IPv6 地址. . . . . . . . : fe80::1dac:99e0:43fc:55f6%11 IPv4 地址 . . . . . . . . . . . . : 192.168.47.129 子网掩码 . . . . . . . . . . . . : 255.255.255.0 默认网关. . . . . . . . . . . . . : 192.168.47.2 隧道适配器 isatap.localdomain: 媒体状态 . . . . . . . . . . . . : 媒体已断开 连接特定的 DNS 后缀 . . . . . . . : localdomain 隧道适配器 本地连接*: 连接特定的 DNS 后缀 . . . . . . . : IPv6 地址 . . . . . . . . . . . . : 2001:0:db92:d24:20d5:125a:3f57:d07e 本地链接 IPv6 地址. . . . . . . . : fe80::20d5:125a:3f57:d07e%13 默认网关. . . . . . . . . . . . . : :: C:\Users\YangbinVM_01> </code>
First solve the internal network:
Excuse me why it is very stuck when I use the host of my computer and the parallel virtual machine to access http://192.168.47.129/, and then
<code>请确认: 您输入了正确的网址. 您的计算机已经连接到互联网. 您的防火墙配置正确. 该网站当前没有出现任何技术问题. 错误码 118 (net::ERR_CONNECTION_TIMED_OUT)</code>
I have a computer at home. There is a windows virtual machine in the computer. I have installed a set of wamp. It is only for my own use. I have made some API excuses. How can I connect to it outside?
I only know that what I debug is http. ://localhost/★★★★★★
But I don’t know how to use another computer to connect, how can I do it?
<code>Windows IP 配置 以太网适配器 本地连接: 连接特定的 DNS 后缀 . . . . . . . : localdomain 本地链接 IPv6 地址. . . . . . . . : fe80::1dac:99e0:43fc:55f6%11 IPv4 地址 . . . . . . . . . . . . : 192.168.47.129 子网掩码 . . . . . . . . . . . . : 255.255.255.0 默认网关. . . . . . . . . . . . . : 192.168.47.2 隧道适配器 isatap.localdomain: 媒体状态 . . . . . . . . . . . . : 媒体已断开 连接特定的 DNS 后缀 . . . . . . . : localdomain 隧道适配器 本地连接*: 连接特定的 DNS 后缀 . . . . . . . : IPv6 地址 . . . . . . . . . . . . : 2001:0:db92:d24:20d5:125a:3f57:d07e 本地链接 IPv6 地址. . . . . . . . : fe80::20d5:125a:3f57:d07e%13 默认网关. . . . . . . . . . . . . : :: C:\Users\YangbinVM_01> </code>
First solve the internal network:
Excuse me why it is very stuck when I use the host of my computer and the parallel virtual machine to access http://192.168.47.129/, and then
<code>请确认: 您输入了正确的网址. 您的计算机已经连接到互联网. 您的防火墙配置正确. 该网站当前没有出现任何技术问题. 错误码 118 (net::ERR_CONNECTION_TIMED_OUT)</code>
Your IP address starts with 192.168, which is the LAN IP address, so you can access it through your IP in the same LAN.
If you want to access from the outside, then you need to set up port forwarding on your router or switch to forward port 80 to your host.