[英]I can't access localhost in Android
我設置了一個本地主機,它在macOS Sierra上運行良好。
localhost/~username
但是現在我正在嘗試從Android上的Chrome瀏覽器訪問
192.168.x.x/~username
並收到此消息。
Forbidden. You don't have permission to access /~username from this server
我的手機和Mac連接到同一wifi。
並編輯httpd.conf
<Directory />
AllowOverride All
Require all granted
</Directory>
而且它不起作用。
打開終端並輸入以下命令:
chmod 777 parent_directory/localhost
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.