I think you are running into the same issue discussed here:
To quote from the thread: "You probably have a Node or a Transport client somewhere running 2.0.0 which is trying to communicate with your node which is running 5.0.0?"
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.