Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to access localhost(xampp) from other computer [closed]

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)

like image 713
Alfred Avatar asked May 31 '12 06:05

Alfred


1 Answers

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.

like image 145
ltiong_sh Avatar answered Oct 05 '22 13:10

ltiong_sh