nacos2.0 启动报错 Error creating bean with name 'grpcSdkServer': Invocation of init method failed; nested exception is java.io.IOException: Failed to bind

  • 错误信息
Error creating bean with name 'grpcSdkServer': Invocation of init method failed; nested exception is java.io.IOException: Failed to bind

目前市面上的Nacos版本主要就是1.4 和 2.0

  • 解决办法

端口被占用

  • Windows的查看端口
netstat -ano | findstr 8848
netstat -ano | findstr 9848
netstat -ano | findstr 9849
  • Linux的查看端口
netstat -tunlp | grep 8848
netstat -tunlp | grep 9848
netstat -tunlp | grep 9849
  • 查看是什么进程占用
# windows 命令
tasklist | findstr 14548 
# 如果是Linux部署请使用下面这个命令
ps -ef | grep 14548 
  • 杀掉进程
# windows 命令
taskkill /F /PID 14548 /T
 
# Linux 命令
kill -9 [pid]
  • 然后重新启动Nacos就可以了!!!

posted on   何苦->  阅读(2444)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示