---
title: "C4O - Connectors - Oracle Connector - Identifying the correct port for a connector"
canonical: "https://docs.certero.com/space/CUP/119701534/C4O+-+Connectors+-+Oracle+Connector+-+Identifying+the+correct+port+for+a+connector"
format: markdown
---
# Document version control table

|  |  |
| --- | --- |
| **Attribute** | **Setting** |
| Document title | C4O – Connectors – Identification of the correct Database Port to be assigned |
| Document subject | Database Port |
| Document version | 1a |
| Document category | Frequently Asked Questions (FAQ) |
| Document published date | 29/05/2025 |
| Technical level | 300 |
| Hosting type | On premise & SaaS provisioned |
| Product name | Certero for Oracle |
| Product version | 8.x |
| Module | Certero for Oracle Database |
| Connector | Certero for Oracle Database Database Connector |


# **Question**

As connectors are added then by default the port: 1521 is defined to a database. Where this fails then there is a requirement to identify the correct port number that should be defined. Generally, the error being returned when running the connector would be **ORA-12541: TNS:no listener**

# **Answer**

There are two (2) answers to this question.

1. Generally, the port will be 1521, 1522, 1523 or 1524. Try each of these in turn and it will probably work if not then option 2 should be
2. Check tnsnames.ora or Connection String Make sure the client is using the correct hostname and port in tnsnames.ora or the connection string. Example output would look like (This reflects port 1521):


ORCL =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = your-hostname)(PORT = 1521))

    (CONNECT_DATA =

      (SERVICE_NAME = orcl)

    )

  )

<sup>1</sup>

<sup>I</sup>