<!---->
Network Server security
By default, the Derby Network Server will only listen on the localhost. Clients must use the localhost host name to connect. By default, clients cannot access the Network Server from another host. To enable connections from other hosts, set the derby.drda.host property, or start the Network Server with the -h option in the java org.apache.derby.drda.NetworkServerControl start command.
In the following example the server will listen only on localhost and clients cannot access the server from another host.
java org.apache.derby.drda.NetworkServerControl start
In the following example, the server runs on host machine sampleserver.sampledomain.com and also listens for clients from other hosts. Clients must specify the server in the URL or DataSource as sampleserver.sampledomain.com:
java org.apache.derby.drda.NetworkServerControl start
-h sampleserver.sampledomain.com
To start the Network Server so that it will listen on all interfaces, start with an IP address of
0.0.0.0, shown in the following example:
java org.apache.derby.drda.NetworkServerControl start -h 0.0.0.0
A server that is started with the -h 0.0.0.0 option will listen to client requests that originate from both localhost and from other machines on the network.
However, administrative commands (for example, org.apache.derby.drda.NetworkServerControl shutdown) can run only on the host where the server was started, even if the server was started with the -h option.
分享到:
相关推荐
适用于销售点的 Easy Java(JPA2.0) 解决... 我们在 Derby (Java DB) Network Server、Derby Embedded、Firebird、MySQL 和 Oracle 10g/11g 上对其进行了测试。 它不依赖于数据库和平台。 您可以在俄语和英语上运行它
Network — Network Functions Newt — Newt Functions NSAPI — NSAPI-specific Functions Object Aggregation — Object Aggregation/Composition Functions Object overloading — Object property and method ...
Network — Network Functions Newt — Newt Functions NSAPI — NSAPI-specific Functions Object Aggregation — Object Aggregation/Composition Functions Object overloading — Object property and method ...
IBM DB2, Cloudscape and Apache Derby Functions LI. ICAP Functions [deprecated] LII. iconv Functions LIII. ID3 Functions LIV. IIS Administration Functions LV. Image 图像函数 LVI. IMAP, POP3 and NNTP ...
IBM DB2, Cloudscape and Apache Derby Functions LI. ICAP Functions [deprecated] LII. iconv Functions LIII. ID3 Functions LIV. IIS Administration Functions LV. Image 图像函数 LVI. IMAP, POP3 and NNTP ...
IBM DB2, Cloudscape and Apache Derby Functions LI. ICAP Functions [deprecated] LII. iconv Functions LIII. ID3 Functions LIV. IIS Administration Functions LV. Image 图像函数 LVI. IMAP, POP3 and NNTP ...
IBM DB2, Cloudscape and Apache Derby Functions LI. ICAP Functions [deprecated] LII. iconv Functions LIII. ID3 Functions LIV. IIS Administration Functions LV. Image 图像函数 LVI. IMAP, POP3 and ...
IBM DB2, Cloudscape and Apache Derby Functions LI. ICAP Functions [deprecated] LII. iconv Functions LIII. ID3 Functions LIV. IIS Administration Functions LV. Image 图像函数 LVI. IMAP, POP3 and NNTP ...
IBM DB2, Cloudscape and Apache Derby Functions LI. ICAP Functions [deprecated] LII. iconv Functions LIII. ID3 Functions LIV. IIS Administration Functions LV. Image 图像函数 LVI. IMAP, POP3 and NNTP ...
IBM DB2, Cloudscape and Apache Derby Functions LII. ICAP Functions [deprecated] LIII. iconv Functions LIV. ID3 Functions LV. IIS Administration Functions LVI. Image 图像函数 LVII. IMAP, POP3 and NNTP...
IBM DB2, Cloudscape and Apache Derby Functions LI. ICAP Functions [deprecated] LII. iconv Functions LIII. ID3 Functions LIV. IIS Administration Functions LV. Image 图像函数 LVI. IMAP, POP3 and NNTP ...
IBM DB2, Cloudscape and Apache Derby Functions LIII. ICAP Functions [deprecated] LIV. iconv Functions LV. ID3 Functions LVI. IIS Administration Functions LVII. Image 图像函数 LVIII. IMAP, POP3 and ...
IBM DB2, Cloudscape and Apache Derby Functions LXII. iconv Functions LXIII. ID3 Functions LXIV. IIS Administration Functions LXV. Image 图像函数 LXVI. Imagick Image Library LXVII. IMAP, POP3 ...
IBM DB2, Cloudscape and Apache Derby Functions LXII. iconv Functions LXIII. ID3 Functions LXIV. IIS Administration Functions LXV. Image 图像函数 LXVI. Imagick Image Library LXVII. IMAP, POP3 and NNTP...