6

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)

Alfred
  • 59
  • 1
  • 1
  • 5

2 Answers2

5

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.

ltiong_sh
  • 3,186
  • 25
  • 28
0

You need to open port 80 (Or whatever port you are using for Apache) on your firewall. This is pretty well documented here http://portforward.com/ for most routers.

I would also recommend you get something like DynDNS, makes dynamic IPs less of a hassle.

Nick Caballero
  • 944
  • 1
  • 8
  • 19