Forums Joomla!

Joomla Stacks - Issue with Apache Port

Subscribe to Joomla Stacks - Issue with Apache Port 6 post(s), 2 voice(s)

 
Avatar Joomlales 3 post(s)

Hi,

I have installed both Joomla! stacks. I wasn’t thinking when I installed the second one and did not change the Apache port. So it defaulted to 8080. Now (of course) my first stack is no longer accessible. I took a look at the Apache docs on their site. But cannot determine where I need to reconfigure the Port for one of the 2 installations. Can some one tell me where this done? I feel stupid here as this is not my area of expertise.

:-(

 
Avatar beltran Administrator 371 post(s)

Hi,

You can change the Apache port in this file: apache2/conf/httpd.conf. You only have to change this line:

Listen 8080

I hope it helps you.

 
Avatar Joomlales 3 post(s)

Hi “Beltran” – Thanks for the information. I have found the entry no problem. Before I change the entry, can you (or someone else) explain the range of ports I have to play with? Let me explain: My intent is to run multiple Joomla! stacks with both versions of Joomla! on the same machine. It would seem that I should have each instance “Listen” to a different a different port. If what I am saying makes sense, then I need to have a separate port for each instance. Am I on the right track here?

 
Avatar beltran Administrator 371 post(s)

Hi,

Sure, you can run several Joomla Stacks on the same machine. If the first Joomla is running, the second Stack will ask you for the Apache port during the installation. If you have installed two Stacks, you can change the port manually in the httpd.conf file. It is advisable to use ports higher than 1024 because these ports are reserved for others servers such as ssh, smtp, etc.

Regards.

 
Avatar Joomlales 3 post(s)

Okay – Cool – Thanks…. I think the default Listen Port for the first install was 8080. So then I (assume) I go 8081, 8082, etc…? Also, Can I simple “clone” each stack and then place copies in appropriately named directories?

BTW, very impressive work on the website and various stacks!

 
Avatar beltran Administrator 371 post(s)

Thanks,

Sorry, you shouldn’t “clone” the stack manually because the installer substitutes the installation directory in several files. But you can install several Stacks with the installer in different folders and if the first stack is running you can change the port during the installation to 8081, 8082, etc.

Forums Joomla!