Zookeeper connection timeout problem, and refused to connect to solve the problem

Zookeeper connection timeout problem, and refused to connect to solve the problem

Code exception
processing method

1. Check and close firewall
2. Check VIM/etc/hosts
port conflict
delete 127.0.0.1 in the first line

Read More: