Accessing Localhost form wireless network

August 8th, 2013

I have a router with 4 lan and WLAN.
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?

Answer #1
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.
Answer #2
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?
Answer #3
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.
Answer #4
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.
Answer #5
Yes.

 

| Sitemap |