We learnt installing openfire XMPP server in the previous posts, now we'll take a look at changing default port of admin console as a one of the security measures. Default port is 9090 as we use serverip:9090 to login.


    [root@openfire~]# vim /opt/openfire/conf/openfire.xml

      <adminConsole>
        <!-- Disable either port by setting the value to -1 -->
        <port>9090</port>
        <securePort>9091</securePort>
      </adminConsole>
      <locale>en</locale>

    Search for the line <adminConsole> and edit the port number as you like.