我现在外网访问不了服务器的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服务是停止状态

相关文章:

  • 2021-06-17
  • 2021-06-21
  • 2021-06-03
  • 2021-07-24
  • 2021-12-17
  • 2021-12-09
  • 2021-04-06
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2022-01-01
  • 2021-10-19
  • 2022-12-23
  • 2021-12-10
  • 2021-06-10
相关资源
相似解决方案