Reputation: 511
I'm facing some concerns about tnsping & telnet in Oracle. In my current understanding:
telnet IP PORT
is used to test that you can connect to that
machine (at IP addr) and some service is listening at that PORT.
tnsping NET_SERVICE_NAME [COUNT]
is used to test that you can
connect to that machine (at IP addr) and some service is listening at
that PORT & that service is an Oracle Listener.
Can someone with a solid knowledge about Oracle verify or point out wrong things in my statements? It is currently hanging in my head, but I am not sure that I have a correct understanding about it.
Upvotes: -2
Views: 4194
Reputation: 21
Tnsping .. uses tnsnames.ora file to connect to the oracle instance. Tnsping on the other hand must get a response from Oracle Net service or daemon running on the server.
Upvotes: 0