![]() You may wish to do this on the Mac itself so you can drop the :8080 from your URL (perhaps have a look at this Ask Different question). Set up forwarding from port 80 to port 8080. It may be necessary (depending on circumstances) to disable the default installation of Apache semi-permanently (this Ask Different question may provide hints on how to go about this). This also technically goes for any external firewalls as well. on your Mac) isn't blocking port 80 and/or port 8080. Since you have Apache working, the general steps would likely be:Įnsure that any host machine firewall (i.e. I would like to make accessible from other machines on our network. These two versions of Apache cannot use the same port. Note that there is also a secondary issue with the fact that MacOS already comes with a pre-installed version of Apache which runs on port 80 by default. So rather than having end-users fiddling with their systems to run Apache on port 80 via XAMPP, the developers at Apache Friends have provided an interface to the web server on a non-privileged port ( 8080). ![]() Apache) needs to be run as root to bind to it (use it for communication). "Privileged port" in this case means that a process (such as httpd.exe a.k.a. The reason port forwarding in the XAMMP interface is required seems to be because any port below 1024 is considered a privileged port on *NIX style systems (such as Mac and Linux). its processes, such as Apache) separate from the host operating system (e.g. This "virtual machine" is a software environment that keeps XAMMP (i.e. I'm not sure why I needed to do this, but I had to enable port forwarding localhost:8080 -> 80 (Over SSH) to make the site accessible on my own machine.Īccording to this Apache Friends Blog Post on XAMPP-VM for Mac, it looks like XAMMP for Mac is running in an isolated virtual machine (VM). Please take everything below with a grain of salt. I am new to XAMPP, and don't have much experience with Apache, so any elaboration will be appreciated.īTW, this question has brought me to asking a question on Meta Stack Exchange about how to deal with questions that might get more attention on Stack Overflow, when more appropriate for another board. ![]() It works, but this is not consistent with the tutorial I'm following, and I don't know how to get it working without that. This requires that I use localhost:8080 in my URL. I literally was just trying things at the point that I found that. I'm using version 7.3.5 for OS X.Īlso, I'm not sure why I needed to do this, but I had to enable port forwarding localhost:8080->80(Over SSH) to make the site accessible on my own machine. I went a bit crosseyed at all the options. I looked at this question, but XAMPP looks like it has changed quite a bit, as the interface looks quite different. When I search for this, I find a lot of information on older versions of XAMPP (and some stuff related to the Windows version.) I have a site running on XAMPP server in my OS X platform, and would like to make it accessible from other machines on our network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |