It is the first time I use openfire, so I don't know much about it. Today, I chaged the wifi then my pc's IP address was changed. So I configure the IP address through the Admin Console. When I restart the Openfire in Eclipse, I can't login Admin Console. But I can login admin account through Spark use the new IP, How can I solve the problem?
the console :
15:55:26,324 WARN LoginLimitManager:113 - Failed admin console login attempt by admin from 127.0.0.1
15:55:29,908 WARN LoginLimitManager:113 - Failed admin console login attempt by admin from 127.0.0.1
15:55:31,158 WARN LoginLimitManager:113 - Failed admin console login attempt by admin from 127.0.0.1
the openfire.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file stores bootstrap properties needed by Openfire.
Property names must be in the format: "prop.name.is.blah=value"
That will be stored as:
<prop>
<name>
<is>
<blah>value</blah>
</is>
</name>
</prop>
Most properties are stored in the Openfire database. A
property viewer and editor is included in the admin console.
-->
<!-- root element, all properties must be under this element -->
<jive>
<adminConsole>
<!-- Disable either port by setting the value to -1 -->
<port>9090</port>
<securePort>9091</securePort>
</adminConsole>
<locale>zh_CN</@locale>
<!-- Network settings. By default, Openfire will bind to all network interfaces.
Alternatively, you can specify a specific network interfaces that the server
will listen on. For example, 127.0.0.1. This setting is generally only useful
on multi-homed servers. -->
<!--
<network>
<interface></interface>
</network>
-->
<!-- SPDY Protocol is npn.
(note: npn does not work with Java 8)
add -Xbootclasspath/p:/OPENFIRE_HOME/lib/npn-boot.jar to .vmoptions file -->
<!--
<spdy>
<protocol>npn</protocol>
</spdy>
-->
<!-- XEP-0198 properties -->
<stream>
<management>
<!-- Whether stream management is offered to clients by server. -->
<active>true</active>
<!-- Number of stanzas sent to client before a stream management
acknowledgement request is made. -->
<requestFrequency>5</requestFrequency>
</management>
</stream>
<connectionProvider>
<className>org.jivesoftware.database.DefaultConnectionProvider</className>
</connectionProvider>
<database>
<defaultProvider>
<driver>com.mysql.jdbc.Driver</driver>
<serverURL>jdbc:mysql://localhost:3306/openfire?rewriteBatchedStatements=true&a mp;amp;useUnicode=true&amp;characterEncoding=utf8</serverURL>
<username encrypted="true">a3dcfb072bcbfd322891c9532d04307ca9d94e08007164cf</username>
<password encrypted="true">4fed36ca38bb0d5c6b4450c30dd69538051eb3aab970e0fe</password>
<testSQL>select 1</testSQL>
<testBeforeUse>false</testBeforeUse>
<testAfterUse>false</testAfterUse>
<minConnections>5</minConnections>
<maxConnections>25</maxConnections>
<connectionTimeout>1.0</connectionTimeout>
</defaultProvider>
</database>
<setup>true</setup>
</jive>