node setup parameters for local area network access

Hi all, what is actually the difference between nxt.allowedBotHosts and nxt.apiServerHost, anyone knows?

nxt.apiServerHost is the interface where the API port will listen to. Setting it to means all interfaces. It is YOUR address.

Host interface on which to listen for http/json API request, default localhost
only. Set to to allow the API server to accept requests from all
network interfaces, including IPv6.

nxt.allowedBotHosts is a filter on incoming connections. It's a filter on THEIR address.

Hosts from which to allow http/json API requests, if enabled. Set to * to
allow all. Can also specify networks in CIDR notation, e.g.

1 Like