Install Openfire on Windows server

Step 1: Download Openfire

  1. Go to and click on Downloads in the top nav.
    Then click the Windows button under Openfire 3.6.4.
    Then click on the link that says openfire_3_6_4.exe Includes Java JRE (recommended) and download openfire_3_6_4.exe to your hard drive.

Step 2: Install Openfire

  1. Double click on openfire_3_6_4.exe and follow the instructions.
    NOTE: It will install Openfire to C:\Program Files (x86)\Openfire.
    When the installation is finished, Openfire will start, and will have a Launch Admin button. We will explore that next (Do not click the Quit button).

Step 3: Configure Openfire

  1. Click on the Launch Admin button to access the Openfire Admin.
    You can also type in to access the Openfire Admin at any time.

    Note: If you get a blank white screen, when you access the Openfire Admin, then it means your server is blocking that website (my server blocks all websites).
    In that case you have to add to your Trusted Sites in Internet Explorer and then refresh the Openfire Admin page.

    How to add to Trusted Sites in IE (if it is blocked):
    With your browser open, click on Tools, then select Internet Options in the dropdown, then click on the Security Tab, then click on the Trusted Sites icon, then click on the Sites button, then type in under where it says Add this website to the zone: and click the Add button.
  2. Now that you are accessing Openfire Admin for the first time, it will ask you some questions:

    Q. Choose Language.
    A. English
    Q. Server Settings
    A. you can probably just leave the defaults (I did), my settings were:

    Domain: 102017-8
    Admin Console Port: 9090
    Secure Admin Console Port: 9091
    Q. Database Settings
    A. Standard Database Connection
    Q. Database Settings - Standard Connection
    A. This is where you enter in your database details, so that Openfire can connect to your database and create the DB-tables.
    NOTE: If you haven't already, you should create a database name "openfire_server" (or whatever you want to call it), and you should have a DB-login for that database with "public" server role.

    This is how I filled it in (assuming is the IP address of my server):

    Database Driver Presets: Microsoft SQL Server
    JDBC Driver Class: net.sourceforge.jtds.jdbc.Driver
    Database URL: jdbc:jtds:sqlserver://;appName=jive
    Username: username of my DB-login for openfire_server database
    Password: password of my DB-login for openfire_server database
    Minimum Connections: 5
    Maximum Connections: 25
    Connection Timeout: 1.0 Days

    CHECK IF IT WAS SUCCESSFUL: After you enter in the above settings, take a look at your openfire_server database, and if there are new tables in there (all prefixed with "of".... like "ofUser" for example), then the above settings were successful!

    NOTE: If you get an error, when Openfire trys to connect to your DB, then you can look at the Openfire error logs at:
    C:\Program Files (x86)\Openfire\logs\error.txt.
    Q. Administrative Account
    A. Create a username/password for your Openfire will use it to login to your Openfire Admin
    Do not use the same word for the username and password (like I did).

    You can view/change your Openfire admin username/password at any time in the "ofUser" table in your openfire_server database.
    Now, it will says Setup Complete!
    Click on the Login to the admin console button to login to your Openfire Admin (located at
  3. Login to your Openfire admin (located at
    This is where you can view real-time stats on your chat usage.
    If you can't login to your admin and you get the message below, then you will need to go into your openfire_server database and change the password. Click here for instructions.
    Login failed: make sure your username and
    password are correct and that you're an admin or

    How to get the password in your openfire_server database:
    select * from ofUser

    How to change the password in your openfire_server database:
    update ofUser
    set plainPassword = 'admin',
    encryptedPassword = null

    Now go back to the Openfire admin (at and try to login again, with:
    username: admin (or whatever you set it to)
    password: admin (or whatever you set it to)

« Back to Home