# 5 Zabbix Java gateway

If you use `startup.sh` and `shutdown.sh` scripts for starting [Zabbix
Java gateway](/manual/concepts/java), then you can specify the necessary
configuration parameters in file `settings.sh`. The startup and shutdown
scripts source the settings file and take care of converting shell
variables (listed in the first column) to Java properties (listed in the
second column).

If you start Zabbix Java gateway manually by running `java` directly,
then you specify the corresponding Java properties on the command line.

|Variable|Property|Mandatory|Range|Default|Description|
|--------|--------|---------|-----|-------|-----------|
|LISTEN\_IP|zabbix.listenIP|no|<|0.0.0.0|IP address to listen on.|
|LISTEN\_PORT|zabbix.listenPort|no|1024-32767|10052|Port to listen on.|
|PID\_FILE|zabbix.pidFile|no|<|/tmp/zabbix\_java.pid|Name of PID file. If omitted, Zabbix Java Gateway is started as a console application.|
|START\_POLLERS|zabbix.startPollers|no|1-1000|5|Number of worker threads to start.|
|TIMEOUT|zabbix.timeout|no|1-30|3|How long to wait for network operations. This parameter is supported since Zabbix 2.0.15, 2.2.10 and 2.4.5.|

::: notewarning
Port 10052 is not [IANA
registered](http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt).
:::
