com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method doLogin in the service com.jt.service.DubboUserService. Tried 3 times of the providers 192.168.142.1:20880 from the registry 192.168.142.128:2181 on the consumer 192.168.142.1 using the dubbo version 2.6.2. Last error is: Invoke remote method timeout. method: doLogin, provider: dubbo://192.168.142.1:20880/com.jt.service.DubboUserService?anyhost=true&application=consumer-web&check=false&dubbo=2.6.2&generic=false&interface=com.jt.service.DubboUserService&methods=doLogin,insertUser&pid=10968®ister.ip=192.168.142.1&remote.timestamp=1566114234721&side=consumer&timeout=3000×tamp=1566114276413, cause: Waiting server-side response timeout. start time: 2019-08-18 16:07:14.269, end time: 2019-08-18 16:07:17.271, client elapsed: 0 ms, server elapsed: 3002 ms, timeout: 3000 ms, request: Request [id=45, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=doLogin, parameterTypes=[class com.jt.pojo.User], arguments=[User(id=null, username=admin123, password=admin123456, phone=null, email=null)], attachments={path=com.jt.service.DubboUserService, interface=com.jt.service.DubboUserService, version=0.0.0, timeout=3000}]], channel: /192.168.142.1:51995 -> /192.168.142.1:20880
Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout. start time: 2019-08-18 16:07:14.269, end time: 2019-08-18 16:07:17.271, client elapsed: 0 ms, server elapsed: 3002 ms, timeout: 3000 ms, request: Request [id=45, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=doLogin, parameterTypes=[class com.jt.pojo.User], arguments=[User(id=null, username=admin123, password=admin123456, phone=null, email=null)], attachments={path=com.jt.service.DubboUserService, interface=com.jt.service.DubboUserService, version=0.0.0, timeout=3000}]], channel: /192.168.142.1:51995 -> /192.168.142.1:20880
试过把20880端口改掉,防火墙也没开着,代码在教室的电脑能够运行,在我自己的笔记本上就报这个错