Accessing localhost from iPhone (in same network)

前端 未结 3 2044
伪装坚强ぢ
伪装坚强ぢ 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:31

    Check to make sure your IP is correct for your host machine.

    Windows: Windows + R -> type "cmd"

    ipconfig
    

    *unix:

    ifconfig
    

    Usually 192.168.0.1 or 192.168.1.1 are allocated to your router, which is what you are seeing via your iPhone.

提交回复
热议问题