Node configuration using the nxt.properties

Node configuration using the nxt.properties

The configuration of your Ardor and Nxt nodes is configured using properties set in the nxt.properties file.
The nxt.properties file is a text file which can be created using any text editor (notepad on Windows and vi on Linux and Mac will do)
Create or update the nxt.properties file in the conf directory under the user directory

For example, to open API access to your node from remote client, add the following lines to nxt.properties:
nxt.apiServerHost=0.0.0.0
nxt.allowedBotHosts=*
Every change to properties will only take effect after you restart your node.

You can use the nxt-default.properties file from the conf directory of the Ardor or Nxt installation as reference to see the existing properties and their documentation.
Never modify the nxt-default.properties file since your modifications will be overwritten by any upgrade to a new version.
Another configuration file you should never modify is nxt-installer.properties under the user directory conf directory. This file stores the configuration selected during the installation.
Any setting set in nxt.properties will override settings in nxt-default.properties and nxt-installer.properties

For advanced users:
The location from which the property files are loaded can be customized using a Java command line argument named according to the property file name.
For example:
java ... -Dnxt.properties=./conf/examples/testnet.properties ...
Will tell the Ardor or Nxt node to load the nxt.properties file from the ./conf/examples/testnet.properties folder.




    • Related Articles

    • Cannot submit transactions while using light client in Ardor

      This is a known problem we are looking to fix in one of the next releases. The transaction appears to be submitted but is not being broadcast to the network. No funds are lost or affected. This problem affects two configurations: 1. Light client ...
    • Where to find the nxt.log file?

      nxt.log is our main diagnostic resource for diagnosing node related problems such as startup issues and blockchain download. Locate this file, then find your Nxt or Ardor user directory according to User directories per product and platform From the ...
    • How to verify authenticity of Nxt and Ardor installations

      Information presented for Ardor is also relevant for Nxt Windows exe: Right click, Properties, Digital Signatures Tab, Name of Signer should be "Stichting NXT" Mac DMG file: 1. Open the DMG file to create the Ardor Installer application 2. From the ...
    • NXT withdrawal guides from Bittrex/Poloniex/HitBTC

      Bittrex Poloniex  HitBTC  And please make sure you have the passphrase to the NXT withdrawal address you provide (otherwise your NXT is lost)
    • What is my Nxt/Ardor account address?

      Your Nxt or Ardor account address is the string displayed in the upper left corner of the wallet with the format NXT-XXXX-XXXX-XXXX-XXXXX or ARDOR-XXXX-XXXX-XXXX-XXXXX Is something else my address? No this is your address, don't use anything else as ...