When using tnsping, can I specify a port number along with the SID?
问题 I use Bitvise Tunnelier to connect to a series of Oracle databases using SQL Developer; the connection is made to localhost and a specific port number, and this works fine. I'd like to connect through other means (e.g., .NET), and I'm troubleshooting with tnsping. Is there any way to run tnsping with a port number as well as the SID? I've tried: tnsping DatabaseSIDName:9001 tnsping DatabaseSIDName;9001 tnsping DatabaseSIDName,9001 All give "TNS-03505: Failed to resolve name". 回答1: When you