本机地址:192.168.1.151
假设使用8080端口
网站访问地址为:http://192.168.1.151:8080
wampServer配置
apache的httpd.conf
中添加
Listen 0.0.0.0:8080
Listen [::0]:8080
httpd-vhosts.conf
Require local
改为 Require all granted
<VirtualHost *:8080>
ServerName frog.io
DocumentRoot "g:/frog/public"
<Directory "g:/frog/public/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
win10防火墙设置
完成!
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。