Linux测试远程端口是否可以访问

测试远程的8080端口是否可访问

telnet 172.21.96.46 8080


查看开放端口

netstat -aptn