linux端口测试
1、wget ip:port
curl 192.168.106.221:1521
curl: (7) Failed connect to 192.168.106.221:1521; 拒绝连接(不通)
提示下面这个则是通的
SSH-2.0-OpenSSH_9.0
Invalid SSH identification string.
curl: (56) Recv failure: Connection reset by peer
2、ssh -v -p port username@ip
-v 调试模式(会打印日志). -p 指定端口
3、telnet ip port
4、wget ip:port
ip:是测试主机的ip地址
port:是端口,比如80