dphphvs496524 2015-11-14 12:53
浏览 103

从iphone连接到本地机器

I am trying to connect my iPhone to a web service on my Macs local machine.

On the Mac I can go to localhost/~username and i get "My Site Works"

On the iPhone I go to xxx.xxx.xxx.xxx (Macs IP Address) and I get "It Works!" but when I go to xxx.xxx.xxx.xxx/~username I get Forbidden - You do not have permission to access /~username on the server

Both devices are on the same Wi-Fi network

This is Mac OS X, Please don't link to solutions for Windows. I'm a Total Noob

  • 写回答

1条回答 默认 最新

  • duanen19871021 2015-11-14 16:03
    关注

    Open Settings on your Mac, go to Sharing, enable file sharing, add your users folder to shared folders and allow everybody to access the resource.

    评论

报告相同问题?

悬赏问题

  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看