错误原因:端口号被占用。 解决方法:关掉占用端口号的进程。步骤参考:https://jingyan.baidu.com/article/3aed632e24d3c5701180916d.html 报错信息: Caused by: com.alibaba.dubbo.rpc.RpcException: Fail to start server(url: dubbo://172.19.24.34:20885/com.weimob.saas.live.service.LiveInfoService?anyhost=true&application=saas.live-service&channel.readonly.sent=true&codec=dubbo&default.retries=0&default.threads=400&default.timeout=5000&dubbo=2.7.0.3-weimob-RELEASE&generic=false&heartbeat=60000&interface=com.weimob.saas.live.service.LiveInfoService&logger=slf4j&methods=queryRoomInfoByRoomId,getRoomStatics,getAnchorList,queryLoginByPhone,queryRoomListByMult,queryRoomIdByLiveCode,correlationAnchor,setAuditSwitch,tempUpdateRoomInfoById,queryRoomListByQueryRoomInfoRequest,getPauseRoomNumByStatAndPid,updateHostPhoneNumber,queryMerchantRoomListByLiveRoomId,getAppRoomDetail,updateRoomPushQRCode,queryRoomInfoList,queryOneRoom,getMutedFromUser,queryMerchantRoomCount,queryRoomCountPage,getAppRoomList,getRoomShareUrl,updateAnchor,queryCommonRoomList,addShareLog,upOcrCount,getAppRoomListByWid,queryPauseRoom,getMerchantLiveCount,getRoomListByRoomIds,addAnchor,queryByPhone,confirmAnchor,queryHostPhoneNumber,ESLiveInfoList,getAuditSwitch,queryPageRoomInfoList,addFaceVerification,findActivityByIds,pauseLive,resumeLive,getAnchor,createMinaQrcoderUrl,addLiveReview,queryRoomAnchor,queryRoomMaxCount,startLive,finishLive,getPageApplyRoomInfoList,getRoomAndRecordByLiveRoomId,updateTopState,updateTopOrder,flushRoomPic,queryRoomsList,updateAccount,getRoomIdByCode,addAgreeLog,updateRoomInfo,allowTXStream,updateRoomApplyStat,queryAllRoom,queryPageRoomIdList,upFaceCount,queryRoomListByRoomIds,getRoomId,getAgreeNum,getFaceVerificationByOrderno,updateRoomUser,updateTest,roomManageAndInfoList,addLiveRoomInfo,getLivingRoomNumByStatAndPid,auditAnchor,syncFullRoomInfo,updateFaceVerification,getLivingOrPauseRoomNumNotSelf,queryRoomCount,updateRoomInfoById,roomManageAndInfoListByroomIds,queryRoomList,removeLiveRoomInfo,queryRoomBySolutionType,getSimpleRoomInfo,sendSyncRoomToActivityMsg,queryRoomGeographyCount,queryMerchantRoomListByLiveRoomIds,queryRoomInfo,queryRoomInfoByPrimaryKey,deleteAnchor,syncPartRoomInfo,getAnchorListPageByPid,getRoomNumByStatAndPid,changeStreamStat,queryRoomListByLiveRoomIds,getLiveReview,queryRoomPushQRCode&monitor=dubbo%3A%2F%2F10.11.32.251%3A2181%2Fcom.alibaba.dubbo.registry.RegistryService%3Fapplication%3Dsaas.live-service%26backup%3D10.11.32.102%3A2181%2C10.11.33.139%3A2181%26dubbo%3D2.7.0.3-weimob-RELEASE%26logger%3Dslf4j%26owner%3Dyutao.yan%2Cyun.li%26pid%3D12808%26protocol%3Dregistry%26refer%3Ddubbo%253D2.7.0.3-weimob-RELEASE%2526interface%253Dcom.alibaba.dubbo.monitor.MonitorService%2526pid%253D12808%2526timestamp%253D1589273237959%26registry%3Dzookeeper%26timestamp%3D1589273237888&owner=yutao.yan,yun.li&pid=12808&side=provider×tamp=1589273237889&updateRoomInfoById.timeout=20000) Failed to bind NettyServer on /172.19.24.34:20885, cause: Failed to bind to: /0.0.0.0:20885 at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:289) at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.openServer(DubboProtocol.java:266) at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.export(DubboProtocol.java:253) at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:56) at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:55) at com.alibaba.dubbo.rpc.Protocol$Adpative.export(Protocol$Adpative.java) at com.alibaba.dubbo.registry.integration.RegistryProtocol.doLocalExport(RegistryProtocol.java:153) at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:107) at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:54)
Caused by: com.alibaba.dubbo.rpc.RpcException: Fai
原创
©著作权归作者所有:来自51CTO博客作者Bighead0829的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
SpringCloud Alibaba实战(12:引入Dubbo实现RPC调用)
断更系列,我给它续上了……
rpc java 微服务 SpringCloud 原力计划