1

I can't find a template for nxt.properties when running a public node. Is there a public template I can just copy and paste and make some adjustments for NXT / Ardor?

2

Are the following entries still necessary:

nxt.uiServerHost=0.0.0.0
nxt.uiServerCORS=true
nxt.uiSSL=true
1

Below is what I use for a public node for Ardor. Some of the lines are commented out, you can enable them if you wish.

# Can also specify networks in CIDR notation, e.g. 192.168.1.0/24.
#nxt.allowedBotHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1];
nxt.allowedBotHosts=*; localhost; [0:0:0:0:0:0:0:1];


# Host interface on which to listen for http/json API request, default localhost only.
# Set to 0.0.0.0 to allow the API server to accept requests from all network interfaces.
#nxt.apiServerHost=127.0.0.1
nxt.apiServerHost=0.0.0.0


# Hosts from which to allow NRS user interface requests, if enabled. Set to * to allow all.
#nxt.allowedUserHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1];
nxt.allowedUserHosts=*; localhost; [0:0:0:0:0:0:0:1];


# Host interface for NRS user interface server, default localhost only.
# Set to 0.0.0.0 to allow the UI to be accessed on all network interfaces.
#nxt.uiServerHost=127.0.0.1
nxt.uiServerHost=0.0.0.0


nxt.isTestnet=true


nxt.apiServerCORS=true
nxt.uiServerCORS=true

#nxt.apiServerPort=27876


#nxt.apiServerSSLPort=27876

nxt.adminPassword=SET_YOUR_OWN

# The default account is used, to automatically login to the wallet during startup
nxt.defaultDesktopAccount=ASDFASDF

#nxt.uiSSL=true
#nxt.apiSSL=true
  • 1
    Should set nxt.isTestnet=false if you are running on the main network. – ScripterRon Feb 9 '18 at 15:54

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.