`
komei
  • 浏览: 89276 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

derby Network

阅读更多
<!---->

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.

分享到:
评论

相关推荐

    Retailer-开源

    适用于销售点的 Easy Java(JPA2.0) 解决... 我们在 Derby (Java DB) Network Server、Derby Embedded、Firebird、MySQL 和 Oracle 10g/11g 上对其进行了测试。 它不依赖于数据库和平台。 您可以在俄语和英语上运行它

    PHP5 完整官方 中文教程

    Network — Network Functions Newt — Newt Functions NSAPI — NSAPI-specific Functions Object Aggregation — Object Aggregation/Composition Functions Object overloading — Object property and method ...

    PHP5中文参考手册

    Network — Network Functions Newt — Newt Functions NSAPI — NSAPI-specific Functions Object Aggregation — Object Aggregation/Composition Functions Object overloading — Object property and method ...

    PHP函数参考手册大全

    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 ...

    中文版PHP使用手册

    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 ...

    经典收藏最全php5.0查询手册

    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 ...

    php手册PHP5研究室编无乱码版本chm

    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 ...

    PHP手册(带评论版-2008-03-14).part2.rar

    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 ...

    PHP手册(带评论版-2008-03-14).part1.rar

    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 ...

    PHP5 开发手册 简体中文手册

    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...

    php手册.chm,php手册

    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 ...

    php帮助文档,php。chm,php必备的中文手册

    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 ...

    PHP官方手册中文版

    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 ...

    PHP手册2007整合中文版

    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...

Global site tag (gtag.js) - Google Analytics