如何在 Windows 中将本地主机从一台计算机共享到另一台计算机?
要将您的本地主机共享给其他人: 由于某些原因,在编写代码时,您可能需要将本地主机中的工作共享给其他人,在 Windows 中,将本地主机从一台计算机共享到另一台计算机要容易得多。在这里你如何做到这一点
First : Win + R , open Terminal and search ipconfig or ipconfig/all
It will show your Windows IP Configuration
Find your IP
IPv4 Address. . . . . . . . . . . : xxx.xxx.x.xx
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
Default Gateway . . . . . . . . . : xxx.xxx.x.x
Make sure your firewall allow connection
Try opening your browser and put your IP to access the localhost(Read/Write)
To share your localhost to other :
For some reasons, while working on code you may need to share your work in localhost to others , In windows it is way more easier to share your localhost from one machine to another. Here how you do this
First : Win + R , open Terminal and search ipconfig or ipconfig/all
It will show your Windows IP Configuration
Find your IP
IPv4 Address. . . . . . . . . . . : xxx.xxx.x.xx
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
Default Gateway . . . . . . . . . : xxx.xxx.x.x
Make sure your firewall allow connection
Try opening your browser and put your IP to access the localhost(Read/Write)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您位于同一网络
xx.xx.xxx.xx:port
(123.12.110.12:3000
)If you are on the same network
xx.xx.xxx.xx:port
(123.12.110.12:3000
)