简体   繁体   English

Netbeans无法启动derby服务器

[英]Netbeans can't start derby server

I've been trying to start the server but I get this error message: 我一直在尝试启动服务器,但收到以下错误消息:

2013-01-23 19:24:18.133 GMT : Security manager installed using the Basic server security policy. 2013-01-23 19:24:18.133 GMT:使用基本服务器安全策略安装的安全管理器。 2013-01-23 19:24:18.430 GMT : Could not listen on port 1527 on host localhost: java.net.BindException: Cannot assign requested address: JVM_Bind 2013-01-23 19:24:18.430 GMT:无法在主机localhost:java.net.BindException上的端口1527上侦听:无法分配请求的地址:JVM_Bind

On top of that I get a prompt saying: 最重要的是,我得到提示:

Unable to connect. 无法连接。 Cannot establish a connection to jdbc:derby://localhost:1527/sample using org.apache.derby.jdbc.ClientDriver (java.net.SocketException : Error connecting to server localhost on port 1527 with message Network is unreachable: connect.). 无法使用org.apache.derby.jdbc.ClientDriver建立与jdbc:derby:// localhost:1527 / sample的连接(java.net.SocketException:在连接1527端口的服务器localhost时出现错误,消息为网络无法访问:连接。) 。

How is one suppose to fix such an issue? 应该如何解决这一问题?

我遇到了同样的问题,但是我的问题是我禁用了回送(lo)网络接口...花了很长时间才发现...(但我认为最常见的是已经运行了derby的另一个实例)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM