Accessing localhost from iPhone (in same network)

前端 未结 3 2043
伪装坚强ぢ
伪装坚强ぢ 2021-01-11 16:08

I want to test my iPhone web Application developed in localhost (XAMPP) in my iPhone. My system IP is 192.168.1.1 in the local network.

When I visit http://192

3条回答
  •  一个人的身影
    2021-01-11 16:32

    192.168.1.1 sounds like it's your router's IP not your Mac's. Try running ifconfig in a terminal to find out your Mac's actual IP address. It's probably something like 192.168.1.2.

提交回复
热议问题