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
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.
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.
Are you sure the IP of your computer is 192.168.1.1 ? It seems like 192.168.1.1 is your DSL router.
In that case, maybe XAMPP is asking for password?
Other reason may be that your router is not letting lan computers access each other...