• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Apache port change

C

corn_planter

Guest
What do I need to change to make apache run on port 2468?

thanks:D
 
First make sure the port is not blocked by your firewall. Then edit the /etc/httpd/conf/httpd.conf file. Look for the line 'Listen 80', then add an additional line under it 'Listen 2468'.

If you wanted to have apache listen only on the new port, and NOT listen on port 80, then you would just change the existing '80' to '2468'.

Once done editing (use a linux editor, not a windows editor), then save the file, and restart apache

/etc/init.d/httpd restart

or

service httpd restart
 
Thanks,
Do I need to make any other changes in order for plesk to work with the port change?
 
Please clarify. Did you want the normal 'hosting' apache to respond on that port, or are you trying to get the Plesk Control Panel to respond on that port (which is a different matter). ????

All you asked was to get apache on that port, which would imply the hosting apache since you did not specify the control panel apache....
 
Well, I want to change apaches port to 2468, but I thought there might be something I need to also change in Plesk so that Plesk still works with apache. I though Plesk might think that apache is still on port 80. So is there any Plesk config files or anything that I need to change to make sure it runs with the apache port change?
 
Back
Top