The Oracle listener listens on port 1521/TCP by default; it accepts client connections and hands them to the database services. It is configured in listener.ora, and lsnrctl status shows its state. For TLS (TCPS) the Oracle documentation commonly uses port 2484.
Do not open it to the internet. Allow only application servers and admin networks, and restrict further with a firewall or with TCP.VALIDNODE_CHECKING and TCP.INVITED_NODES in sqlnet.ora.
Typical: ORA-12541: TNS:no listener – listener not running or wrong host/port – and ORA-12514 because the requested service is unknown to the listener (check the service name, possibly ALTER SYSTEM REGISTER).
Check
sqlplus app@//db.example.com:1521/ORCLPDB1