org.apache.dubbo.remoting.RemotingException: client(url: dubbo://192.168.56.1:20883/com.test.dubbo.dubbo.StorageDubboService at org.apache.dubbo.remoting.transport.netty4.NettyClient.doConnect(NettyClient.java:131) at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:186) at org.apache.dubbo.remoting.transport.AbstractClient.reconnect(AbstractClient.java:242) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient.reconnect(HeaderExchangeClient.java:152) at org.apache.dubbo.remoting.exchange.support.header.ReconnectTimerTask.doTask(ReconnectTimerTask.java:49) at org.apache.dubbo.remoting.exchange.support.header.AbstractTimerTask.run(AbstractTimerTask.java:87) at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:648) at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:727) at org.apache.dubbo.common.timer.HashedWheelTimer$Worker.run(HashedWheelTimer.java:449) at java.lang.Thread.run(Thread.java:745) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.56.1:20883 Caused by: java.net.ConnectException: Connection refused: no further information
Today, I reported the above error in debugging a local Dubbo project. After checking the online answer, there are two solutions as follows:
1. Change the host of the configured Dubbo to the IP of your local network card (it should be noted that some friends may have several adapter network IP (for example, they are connected to the wireless), and this error message will also include the same error message of your wireless address IP, but if your producer and consumer debug on the same device, it will not affect the registration call)
2. The configuration in the configuration file (YML or properties) is as follows:
dubbo.protocol.host=192.168.56.1 It is important to note that both consumer and producer configurations should be added!
Similar Posts:
- [Solved] Dubbo Error: No provider available for the service xxx from registry localhost:9090
- Rocketmq Error: connect to IP: 10909 failed [How to Solve]
- [Solved] Dubbo Error: Failed to invoke the method…
- [Solved] Kafka 0.8.2.2 Producer:java.net.ConnectException: Connection timed out: no further information
- [Solved] Dubbo uses filter error: No such extension consumerStaticFilter for filter/com.alibaba.dubbo.rpc.Filter
- [Solved] Dependency injection exception: org.springframework.beans.factory.UnsatisfiedDependencyException
- Idea Error: No provider available from registry 127.0.0.1:2181 for service
- kafka java.net.ConnectException: Connection timed out: no further information
- kafka java.net.ConnectException: Connection timed out: no further information
- Solution of failed tosend message exception in Kafka