QUESTION:
阿里雲服務器重啓後無法訪問,可以PING通?
ANWSER:
一、配置安全組
二、關閉防火牆
sudo systemctl stop firewalld 臨時關閉
sudo systemctl disable firewalld ,然後reboot 永久關閉
sudo systemctl status firewalld 查看防火牆狀態。
三、啓動Tomcat服務器
出現:-bash: /usr/java/tomcat/apache-tomcat-8.5.42/bin/startup.bat: Permission denied
解決方案:
先進入bin目錄,
chmod u+x *.sh
啓動:
./startup.sh