一、如何在手机上访问本地PC端项目;
如果你服务用的nginx的话,你可以这样做:
1、首先你得确保手机和电脑在同一个局域网内。
2、打开nginx/conf/nginx.conf。在http字段里面添加如下
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
3、然后在cmd中或其他命令行工具中查看你局域网的ip
如在cmd中输入ipconfig
然后把ip发你微信上或用浏览器打开。
大家可以关注微信公众号鸡汤小弟