To troubleshoot & diagnose Oracle connectivity problems, follow this checklist:
- Check with "ping" using the IP address ("ping 126.96.36.199"
- Check with "ping" using DNS name (e.g. "tnsping uranus")
- Try telnet to the IP on port 1521 (telnet 188.8.131.52 1521)
- Check with "tnsping" using TNS service name
- Invoke SQL*Plus from the OS command line "sqlplus fred@flintstone". If this fails, check to ensure that your listener is the flintstone service defined.
- Sign-on to SQL*Plus and connect with the TNS name ("connect fred/flintstome@service_name" )
- Within SQL*Plus, try a select from table@remote_db_lin