Change port 8080
How do I change the port that the control panel listens on?
Currently it is 8080 but I want to change it to a different port.
Google failed to find out how to do this.
see whether this help
this two files:
Or you could have just entered the port as you installed ispconfig.
Thanks kkng and till but I'm still unable to change the port.
I now have two instances of ispconfig3 on different debian lenny boxes.
The first one was set up with the default port 8080 selected during installation.
The second one was set up with port 50 selected during installation.
Both were set up using the procedure at
and both are working properly as far as I can tell.
The control panel works fine at http://192.168.1.120:50 on the second box.
Now I want to change the first box from 8080 to something else, say 51.
I don't want to reinstall it because it's in use for web services.
I'm the only person who uses the control panel.
I searched the contents of these files on both boxes
It wouldn't surprise me if I misunderstood something but I cannot find 8080 or 50 in either file on either box.
The configuration files are in the /etc/apache2/sites-available directory.
Thanks for your help falko
In case it's of use to others, here's what I did to change the port to 51.
1. Add the new port to System Firewall in the control panel. Don't forget to Save.
2. Check with nmap that the new port is available (closed).
3. Edit three lines in /etc/apache2/sites-available/ispconfig.vhost
4. restart apache2
5. Find the control panel at the new port.
After completing the procedure up to here I got a bit worried that in Monitor it showed up in red that the web server was offline. However this problem disappeared after a few minutes and everything is now working fine. Maybe the control panel takes time to update after the apache2 restart.
6. Remove the old port from System Firewall in the control panel. Don't forget to Save.
At this stage I was a bit concerned to see a popup message "Sorry there was an Error"
Closing and restarting the browser access to the new port cured that.
7. Check with nmap that only needed ports are open.
8. Check that the services are working correctly at the new ports.
Comments on this procedure are welcome, particularly if I'm likely to find anything else that was broken as a result of doing it.
|All times are GMT +2. The time now is 02:26.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.