如何從iPhone瀏覽器訪問在localhost上運行的網站我正在移動網站上工作,并希望使用我的iPhone瀏覽器進行測試。我的Windows 7機器和iPhone在同一個無線網絡上。如何從iPhone訪問localhost?現在我收到404錯誤。
3 回答

慕慕森
TA貢獻1856條經驗 獲得超17個贊
使用下一個URL模式:
http://<computer-name>.local:<port>
在哪里<computer-name>
可以找到System Preferences -> Sharing
如果您使用WebStorm內置服務器,請確保WebStorm -> Preferences Build, Execution, Deployment -> Debugger -> Can accept external connections
已打開
- 3 回答
- 0 關注
- 1267 瀏覽
添加回答
舉報
0/150
提交
取消