Accessing Localhost form wireless network
August 8th, 2013
My Ip router address http://192.168.1.1/
I have installed XAAMP on my Computer.
Localhost working like a charm.
Now i want to access this localhost on my mobile.
I can able to access http://192.168.1.1/ from mobile.
But i want to access localhost.
How to do that?
You need to use your computer’s IP, not your router’s IP. If you enter in your router’s IP, you will connect to your router; therefore you need to enter your computer’s IP.
Win+R > cmd > ipconfig
Use the IP address of your active adapter.
Thanks man.
Working….
i don’t understand how all this work?
I can’t able to understand ip related things like port forwarding,accessing lan using ip etc…
Any help?
Your going to have to Google it and learn.
Every device on the WAN (Internet) has a unique IP. All the devices in your LAN (local network) have IP addresses unique to the local network, but not the Internet. That is why you use a router to get Internet on multiple computers, it gets the WAN IP, and gives all your local computers a LAN ip. So when an incoming request is made on a port, it goes to the router, and with out port forwarding (linking a port to a computer in the local network) the router does not know where to direct the incoming traffic.
Apache serves web pages to other computers via the ip of your local machine. It also serves webpages to your local machine for testing and debugging purposes via 127.0.0.1 . I am not an expert. Just a guy who spends too much time on the internet.
Yes.