I have tried to connect to an Oracle database using the below command:
sqlplus -s LOGIN/PASSSWD@SERVERNAME:ORA_PORT/SERVICE_NAME
However I couldn't connect. It was throwing the following error:
ORA-12541: TNS: no listener.
How can I fix this?
You're entering the wrong TNS Name while connecting. Check the TNSNames defined in