

I strongly recommend using DynDns, which is absolutely free. Last updated: OctoXAMPP is a fantastic tool for quickly setting up local WordPress installations to use in testing.
#Http localhost xampp does not work Offline#
Having done all that, your friend should now be able to access your webpage by going to his web browser on his machine and entering (the same one you see when you go here ).Īs mentioned earlier, the IP address assigned to you by your ISP will eventually change whether you sign offline or not. 4 Answers Sorted by: 16 To access the server from itself, use or To access the server from a separate computer on the same network, use where X.X is your servers local IP address. Restart your router and the changes should take effect. Enter the application name (whatever you want to call it), start port (80), end port (80), protocol (TCP), ip address (using the above example, you would enter 192.168.1.102, which is the static IP you assigned your server), and be sure to check to enable the forwarding.
#Http localhost xampp does not work how to#
Two examples of how to do this can be found here and here, although the exact screens you see will vary depending on the manufacturer of your router (Google for exact instructions, if needed).įor the Linksys router I have, I enter, enter my username/password, Applications & Gaming tab > Port Range Forward.

Your using Windows: Use notpad or editor with Ctrl+H to replace '80'. No need to move them, but you will need to tell your. Possible reason: A program is running with port 80 Run XAMPP (> Apache) under an another port: Rename all ports with 80 to 8080 in your nf file. However, you need to tell your router that when it gets a request for a webpage, forward that request to your server. key will be stored in C:xamppapacheconfssl.crt and C:xamppapacheconfssl.key folders respectively. When your friend accesses your website, you'll give him this IP. If you look up your IP address (such as ), the IP you see is actually the IP of your router. 192.168.1.5) Either that, or port 80 (for HTTP) is not configured/is blocked while port 443 (for HTTPS) works If needed you can find a list of commonly used ports here Share Improve this answer Follow answered at 20:50 Wilf 29. After the above step is completed, you should be able to get to the website on your local machine by going to both and, since your computer will now always have that IP address on your network. 1 It may work if you enter the exact IP address instead of the hostname (e.g. Instructions for how to do this can be found: hereįor example, let's say you picked the IP address 192.168.1.102.

