XAMPP Web Server Network Access - Connect to Apache Server From the Network

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so by default when you install xampp you can access it by localhost or using the loopback address so with the xampp on i type in localhost or else i type in the 1 to 7 loopback address and we utilizing reutilizing port 80 the default port so what if you wanted to access your server from another device on the network so here what we're going to do is we're going to configure xampp to be accessible on your network and you'll be able to access xampp maybe through your mobile phone or another laptop that's connected to your network so first of all you need to go to start if you're using Windows and type in CMD to open up the command prompt so from here we first need to work out what our IP addresses so I type in IP config so this is going to be a give me a list of all different IP addresses on my machine notice here though we need to find the IP address so here I'm using the Ethernet card and my IP address is 191 6 8 139 now you might be using your wireless card for example so it might be in this section here so I need to remember this number 191 68 139 this is your IP version 4 address so with that information I can now access the Apache server so what I need to do is find the installation path for xampp mine is on the C Drive so I go to the folder and then I access Apache folder so inside of here is your web server Apache configuration files and I then access the config folder and then I need to open the httpd config file this is basically the master file that your xampp server uses all your Pachi server uses in xampp to configure your server now what you need to do is go down to line 60 in this case and you'll notice it says here listen so your server by default is listening on port and it's using the localhost or loopback address now if you want it available on your IP address or on your network first of all we need to type in the IP address of your machine that we found out earlier so 192 168 point one point 39 and then we can designate it a port number we want to access the server say for example 8,000 now we can't just randomly make this number up some of the ports aren't available so 8,000 is a good number to use so once you've saved that file just remember you have to type in the word listen don't forget that and now we can restart the server so we start the server and notice now the ports available 80 443 and 8,000 that we've just designated so what we should be able to do now is go into our web browser and now type in the IP address 191 6 8 1.39 and there we go so now we can access the server via the IP address so now this is available it should be now available for other devices on your network now there are a few problems that might occur for example your firewall might be blocking this so you may need to configure your firewall so that was a simple example configuring xampp to be accessible on your network
Info
Channel: Very Academy
Views: 32,749
Rating: undefined out of 5
Keywords: xampp, xampp tutorial, xampp apache, xampp network access, xamp tutorial, xamp
Id: I_cVBp3gX14
Channel Id: undefined
Length: 3min 44sec (224 seconds)
Published: Tue Apr 28 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.