首页 > 系统相关 >解决ubuntu出现的std::exception::what: bind: Address already in use问题 (FISCO BCOS区块链节点启动地址占用问题)

解决ubuntu出现的std::exception::what: bind: Address already in use问题 (FISCO BCOS区块链节点启动地址占用问题)

时间:2023-03-21 15:36:20浏览次数:65  
标签:std again exception already PID Please 节点


1、首先问题是这样的

  Exceed waiting time. Please try again to start node2
  Exceed waiting time. Please try again to start node3

解决ubuntu出现的std::exception::what: bind: Address already in use问题 (FISCO BCOS区块链节点启动地址占用问题)_区块链

[2022-11-07 01:37:47] Initializing...
[INITIALIZER][P2PInitializer]initConfig for P2PInitializer failed,check Port=30302,EINFO=Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >
std::exception::what: bind: Address already in use

最后一行是地址已经在使用了。

解决办法:

1、使用命令

netstat -tunlp

截图如下,因为我这个是启动fisco区块链节点出现这样的问题,所以杀掉所有fisco节点。

解决ubuntu出现的std::exception::what: bind: Address already in use问题 (FISCO BCOS区块链节点启动地址占用问题)_ubuntu_02

2、杀掉PID(上图箭头指的就是PID)

kill -9 9558

解决ubuntu出现的std::exception::what: bind: Address already in use问题 (FISCO BCOS区块链节点启动地址占用问题)_ubuntu_03

 如图进行杀死PID,再次启动问题解决

解决ubuntu出现的std::exception::what: bind: Address already in use问题 (FISCO BCOS区块链节点启动地址占用问题)_Dynamic_04

 

标签:std,again,exception,already,PID,Please,节点
From: https://blog.51cto.com/u_15738297/6140228

相关文章