[yjc@localhost ~]$ telnet localhost 8080
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
没有启用8080端口,使用 nc -lp 8080 & 命令开启8080的tcp侦听,
在端口启用列表里面能找到了,再telnet就通了,说明8080端口正常可用。
参考文章:https://q.cnblogs.com/q/106337/