情况如下:
[oracle@tgmes1 ~]$ tnsping 172.18.60.99:1522/nqpis
TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 07-APR-2022 04:09:18
Copyright (c) 1997, 2013, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=nqpis))(ADDRESS=(PROTOCOL=TCP)(HOST=172.18.60.99)(PORT=1522)))
OK (40100 msec)
[oracle@tgmes1 ~]$
[oracle@tgmes1 ~]$ tnsping 172.18.60.99:1522/nqpis
TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 07-APR-2022 04:16:30
Copyright (c) 1997, 2013, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=nqpis))(ADDRESS=(PROTOCOL=TCP)(HOST=172.18.60.99)(PORT=1522)))
OK (8640 msec)
[oracle@tgmes1 ~]$
[oracle@tgmes1 ~]$ ping 172.18.60.99
PING 172.18.60.99 (172.18.60.99) 56(84) bytes of data.
64 bytes from 172.18.60.99: icmp_seq=1 ttl=255 time=0.097 ms
64 bytes from 172.18.60.99: icmp_seq=2 ttl=255 time=0.076 ms
64 bytes from 172.18.60.99: icmp_seq=3 ttl=255 time=0.091 ms
^C
--- 172.18.60.99 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2352ms
rtt min/avg/max/mdev = 0.076/0.088/0.097/0.008 ms
[oracle@tgmes1 ~]$ telnet 172.18.60.99 1522
Trying 172.18.60.99...
Connected to 172.18.60.99.
Escape character is '^]'.