xx), then make sure your macbook and the other device have a same network connectivity.
html (HTML5) file there and it’ll show at your localhost (127.0.0.1). STEP - 1 : Set a New Port in XAMPP-VM First step you should to do is creating a new port in XAMPP-VM, and notes your macbook IP address (e.g. The public directory is under htdocs – the frontpage that is showing up at 127.0.0.1 is the index.php at htdocs directory. Your local web server is up and running! Just start up your (any) browser and you can access your front page at In the event that you are having trouble wit.
“Allow access” (for Apache and MySQL) if your firewall pops up any message.ĭone. In this video I will walk you through the installation process for a portable version of XAMPP on a flash drive. Copy/upload the entire xampp folder to your USB flash drive (I’m using the 8GB USB2.0 flash drive which is more than adequate to be a local web server).ĭouble-click xampp-control.exe and start both Apache and MySQL.
zip file to avoid any issue of downloading/installing. So, let’s start to step by step procedure to transform your USB flash drive to a versatile and portable localhost.įirst, of course, download XAMPP Portable from and click on the highlighted “ here” link to see all the versions of XAMPP on SourceForge :ĭownload the xampp-portable. After clicking the Start button, you can see the server status and server IP Address at the top area of the above XAMPP window. Click the Start button to start both Apache, MySQL, and FTP server as services. Hence, in terms of sustainability and support, I’m now more leaned toward XAMPP.Īs the main objective is to make the USB flash drive to act like a portable web server, I’ll be using the more lightweight version XAMPP Lite – to be more exact, XAMPP Lite seems to be phased out. After clicking the XAMPP icon, it will display the below popup window. One major put off, at least for me, is that on Server2Go’s Features tab, compatible browsers include IE 6 & 7 – c’mon, that was like several years back. Search for jobs related to Xampp localhost not working mac or hire on the world's largest freelancing marketplace with 21m+ jobs. XAMPP’s website is also more professional while Server2Go frontpage looks kind of amateur. By Apache Friends, XAMPP is more established and maintained. A quick question – if you want me to decide and can only use one to be my local web server solution, then the quick answer and selection will be … XAMPP. /rebates/&252flocalhost-xampp-for-mac. Now, I’ll show you another alternative to make your USB flash drive to be a portable web server with the more established (and rather widely used) XAMPP.īefore that, let me make a quick comparison on the pros and cons between XAMPP (Portable) and Server2Go. First step you should to do is creating a new port in XAMPP-VM, and notes your macbook IP address (e.g.
In previous post, I’ve shown you how to make the USB flash drive to be a local portable web server with Server2Go.