Home  >  Article  >  Backend Development  >  怎么访问局域网内的网站?需要如何配置

怎么访问局域网内的网站?需要如何配置

WBOY
WBOYOriginal
2016-06-13 13:33:192066browse

如何访问局域网内的网站?需要怎么配置?
比如我在我本机上建了一个网站。

想通过其他局域网内的机子能访问我的网站。



要怎么设置?需要WAMPSERVER吗?

------解决方案--------------------
你配置好后,其他机子修改hosts就ok了,当然不修改hosts也可以直接输入ip访问也行
------解决方案--------------------
你自己能否访问自己的网站 

你自己的内网ip是多少

你怎样访问自己的网站就让别人怎样访问你的网站

如果你的网站包含 localhost这个单词 那么 把这个单词 改成你的内网ip

此方法只能在内网进行访问

------解决方案--------------------
按lz的意思是想了解怎么搭建服务器吧,你可以baidu一下,http、ftp服务器都有很多教程
------解决方案--------------------
给每个机子分个局域网IP就好了,通过IP来访问你机子上的网站。。
如:
192.168.0.123

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn