【发布时间】:2021-11-15 21:33:12
【问题描述】:
我在 localhost 服务器上有 laravel 应用程序,我想通过 wamp 服务器将它分享到本地网络,我在这里查看了帖子并做了大部分操作,例如:
将 httpd-vhosts.conf 更改为:
<VirtualHost *:80>
ServerName localhost
DocumentRoot D:/wamp/www
<Directory "D:/wamp/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
在防火墙系统中为 TCP 创建新规则。 将 C:\Windows\System32\drivers\etc\host 更改为:
#127.0.0.1 localhost
192.168.0.105 attendance
将 Listen 192.168.0.105:80 添加到 httpd.conf
没有解决
【问题讨论】:
标签: laravel networking localhost share