我現在外網訪問不了服務器的8089 端口,可以進行以下操作
1. 看看阿里雲服務器的安全組配置是否開了
ping 主機ip
telnet ip 8089
traceroute -n -T -p 8089 ip 看是否有節點不通
curl http://ip:8089
2.
轉自https://www.cnblogs.com/zienzir/p/9346528.html
[Linux] 關閉防火牆以及開放端口
一.
service iptables stop 臨時關閉,
chkconfig iptables off完全關閉
service iptables status狀態,
service iptables start/restart 開啓/重啓防火牆
二.
輸入命令
iptables -I INPUT -p tcp --dport 22 -j ACCEPT
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp --dport 3306 -j ACCEPT
iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
iptables -I INPUT -p tcp --dport 6379 -j ACCEPT
來開放相關端口,分別是
XShell連接22 , 本地80, mysql 3306,tomcat 8080, redis 6379
1. geoserver 開啓
進入geoserver-2.16.0/bin 文件夾
nohup ./startup.sh &
2. react 開啓 (轉自https://www.jb51.net/article/127481.htm)
3. springboot 開啓
nohup java -jar target/spring... &
4. mysql 服務
service mysqld status 命令來查看mysql 的啓動狀態
如果出現mysqld is stopped 那就說明mysql服務是停止狀態