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 2022-12-14 16:10  何苦->  阅读(2618)  评论(0)    收藏  举报

导航