11:40:47,779 INFO DubboProtocol:135 - [DUBBO] disconected from /192.168.1.103:20881,url:dubbo://192.168.1.103:20881/com.pyg.manager.service.BrandService?anyhost=true&application=pyg-manager-web&check=false&codec=dubbo&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.pyg.manager.service.BrandService&methods=deleteIds,findOne,update,findBrandByPage,findPage,addBrand,findAll&pid=10796&retries=2&revision=0.0.1-SNAPSHOT&side=consumer&timeout=10000000×tamp=1548733191429, dubbo version: 2.8.4, current host: 192.168.1.103
11:40:50,159 WARN AbstractClient:160 - [DUBBO] client reconnect to 192.168.1.103:20881 find error . url: dubbo://192.168.1.103:20881/com.pyg.manager.service.BrandService?anyhost=true&application=pyg-manager-web&check=false&codec=dubbo&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.pyg.manager.service.BrandService&methods=deleteIds,findOne,update,findBrandByPage,findPage,addBrand,findAll&pid=10796&retries=2&revision=0.0.1-SNAPSHOT&side=consumer&timeout=10000000×tamp=1548733191429, dubbo version: 2.8.4, current host: 192.168.1.103
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://192.168.1.103:20881/com.pyg.manager.service.BrandService?anyhost=true&application=pyg-manager-web&check=false&codec=dubbo&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.pyg.manager.service.BrandService&methods=deleteIds,findOne,update,findBrandByPage,findPage,addBrand,findAll&pid=10796&retries=2&revision=0.0.1-SNAPSHOT&side=consumer&timeout=10000000×tamp=1548733191429) failed to connect to server /192.168.1.103:20881, error message is:Connection refused: no further information: /192.168.1.103:20881
at com.alibaba.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:141)
at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:280)
at com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:145)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.ConnectException: Connection refused: no further information: /192.168.1.103:20881
at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779)
at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
... 3 more
<p>IP和端口号正确嘛?</p>
<pre>你这dubbo配置写错了吧
<!-- 使用zookeeper注册中心暴露服务地址 --> <dubbo:registry address="zookeeper://192.168.124.131:2181" /> <!-- 用dubbo协议在20881端口暴露服务 --> <dubbo:protocol name="dubbo" port="20881" />
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。