how to access localhost(xampp) from other computer
31,501
If you're trying to access your local XAMPP from another computer on your local network, you'll need to use a local ip address. Likely something like 192.168.x.x. (on a Windows box, you can type 'ipconfig' into a command prompt to get this IP)
If you're trying to access from outside your local network, you'll need to port-forward port 80 through your router to the computer that is running your XAMPP.
Comments
-
Alfred almost 4 years
I have installed XAMPP on my computer.I want to access my localhost when typing my ip address in another computer.But when i type my ip address it takes me to my modem settings page.Please help me.(I am using the ip address from whatismyip.com)
-
chaimp almost 12 yearsAre you behind a router?
-
Shiplu Mokaddim almost 12 yearsWhere does this another computer reside? in Internet or in Local network?
-
Alfred almost 12 yearsyes, i am using Airtel broadband.
-
Alfred almost 12 yearsThe other computer resides in Internet.
-
Shiplu Mokaddim almost 12 yearsAha. Then you need to forward 80 port of your computer in the modem.
-
Shiplu Mokaddim almost 12 yearswhat is the Name and Model of your modem?
-
HamZa almost 12 yearsWell there are a lot of possibilities out there, you should google it first and when you encounter a problem you should post it somewhere on stackexchange, because stackoverflow is more code related than this kind of issues ! btw if you have a dynamic IP and you want to let your friends access your webserver then you should also take a look at www.no-ip.com and if you're behind a router checkout portforward.com ...
-
-
MimiEAM over 11 yearsdont just copy someone else answer without any link to itgiving them credit stackoverflow.com/a/823124 that's just dishonest !