Changing port 81 to port 82

Discussion in 'Installation/Configuration' started by Jcorrea920, Nov 3, 2006.

  1. Jcorrea920

    Jcorrea920 New Member

    I have migrated two ISPConfig websites to another server behind an IPCOP firewall. As you already know IPCOP does not play nice with ISPCONFIG port 81. So naturally I wanted to change my ISPCONFIG admin port to 82 as some of the users have suggested. Although my ISPCONFIG only works on port 81.
    I have changed the following from 81 to 82, and now I have no access to admin pages unless I change back to 81. Currently running Fedora Core 6, ISPConfig 2.2.7, MySql 5.0.1, Php 5.1.0, Apache 2.2.5.


    /root/ispconfig/httpd/conf/httpd.conf:

    Code:
    Port [COLOR="Red"][B]82[/B][/COLOR]
    Code:
    <IfDefine SSL>
    Listen [COLOR="red"][B]82[/B][/COLOR]
    </IfDefine>
    Code:
    <VirtualHost _default_:[COLOR="red"][B]82[/B][/COLOR]>
    /home/admispconfig/ispconfig/lib/config.inc.php :

    Code:
    $go_info["server"]["server_url"] = "https://ccs06.correaconsulting.com:[COLOR="red"][B]82[/B][/COLOR]";

    What am I missing?
    I greatly appreciate any help, and I thank you in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you restarted the ISPConfig server script:

    /etc/init.d/ispconfig_server restart

    What is the result of:

    grep 81 /root/ispconfig/httpd/conf/httpd.conf

    and the output of:

    netstat -tap
     
  3. Jcorrea920

    Jcorrea920 New Member

    Solved: Control Panel Malfunction

    Okay my ISPCONFIG Control Panel added port TCP 82 to the firewall but not to the bastille-firewall.cfg file. I had to do that mannually.


    vim /etc/Bastille/bastille-firewall.cfg:

    add 82 to list

    Code:
    TCP_PUBLIC_SERVICES="21 22 25 53 80 81 [COLOR="Red"][B]82 [/B][/COLOR]110 443 10000"
    Code:
    /etc/init.d/bastille-firewall restart
    what's wrong with my Control Panel, and how can I fix it?

    Suggestions are greatly appreciated. Thanks in advance for all the help.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You must modify the function make_firewall() in /root/ispconfig/scripts/lib/config.lib.php.
     

Share This Page