您好,有人可以帮帮我

时间:2016-04-05 15:18:40

标签: connection timeout

00:00:01,564 ERROR [org.hornetq.core.client] (Thread-11 (HornetQ-server-HornetQServerImpl::serverUUID=a515fe69-fa14-11e5-8ce4-d54dd29e8524-1886871820)) HQ214016: Failed to create netty connection: java.net.SocketTimeoutException: connect timed out
  at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) [rt.jar:1.8.0_74]
  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) [rt.jar:1.8.0_74]
  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) [rt.jar:1.8.0_74]
  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) [rt.jar:1.8.0_74]
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) [rt.jar:1.8.0_74]
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) [rt.jar:1.8.0_74]
  at java.net.Socket.connect(Socket.java:589) [rt.jar:1.8.0_74]
  at org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink.connect(OioClientSocketPipelineSink.java:109) [netty-3.6.10.Final-redhat-1.jar:3.6.10.Final-redhat-1]
  at org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink.eventSunk(OioClientSocketPipelineSink.java:69) [netty-3.6.10.Final-redhat-1.jar:3.6.10.Final-redhat-1]
  at org.jboss.netty.channel.Channels.connect(Channels.java:634) [netty-3.6.10.Final-redhat-1.jar:3.6.10.Final-redhat-1]

2 个答案:

答案 0 :(得分:0)

java.net.SocketTimeoutException: connect timed out

您未能连接到目的地。没有一些实际的代码,没有人可以告诉你任何不同的东西。

答案 1 :(得分:0)

您的服务器似乎没有运行,或者您提供了错误的服务器信息,因此您正在获取

java.net.SocketTimeoutException:connect timed out

如果您附加了代码段,则会有所帮助