java.net.ConnectException: Connection refused: no further information拒絕連接訪問

運行遇到連接拒絕問題或頁面一直加載都是同一個問題如圖: 解決方案: a)虛擬機centos配置如下:vi /etc/hosts b) zookeeper關閉防火牆 c)殺死zookeeper所有進程,重啓zookeeper 查詢zookeeper所有進程: ps -ef|grep zookeeper 殺死進程:kill-9 端口號 d)可以將web工程中pom的tomcat插件刪除在添加然後安裝,
相關文章
相關標籤/搜索