# Disabling Data Virtuality ports

**URL:** <https://community.cdata.com/t/disabling-data-virtuality-ports/760>\
**Category:** How-to with CData\
**Tags:** article, cdata-virtuality\
**Created:** [June 10, 2024, 4:06pm UTC](https://community.cdata.com/t/disabling-data-virtuality-ports/760 "2024-06-10T16:06:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@anonymous](https://community.cdata.com/u/anonymous)\
**Post date:** [June 10, 2024, 4:06pm UTC](https://community.cdata.com/t/disabling-data-virtuality-ports/760/1 "2024-06-10T16:06:28Z")

</div>

A common scenario is for companies to always require encrypted connections (TLS/SSL) to Data Virtuality and prevent insecure connections (non-TLS/non-SSL). \*

Data Virtuality has TLS and non-TLS ports for connectivity. It is possible to disable the insecure ports.&nbsp; **Modifying the transport will require a restart of Data Virtuality.**

To disable non-TLS JDBC connections (port 31000)

```auto
CALL SYSADMIN.executeCli(script => '/subsystem=teiid/transport=jdbc:remove') ;;

```

To disable TLS JDBC connections (port 31001)

```auto
CALL SYSADMIN.executeCli(script => '/subsystem=teiid/transport=jdbc-ssl:remove') ;;

```

To disable non-TLS ODBC connections (port&nbsp;35432)

```auto
CALL SYSADMIN.executeCli(script => '/subsystem=teiid/transport=odbc:remove') ;;

```

To disable TLS ODBC connections (port&nbsp;35433)

```auto
CALL SYSADMIN.executeCli(script => '/subsystem=teiid/transport=odbc-ssl:remove') ;;

```

To disable OData connections (ports 8080 and 8443)

```auto
CALL SYSADMIN.executeCli(script => '/subsystem=teiid/transport=odata:remove') ;;

```

To disable Rest API connections (ports 8080 and 8443)

```auto
CALL SYSADMIN.executeCli(script => '/subsystem=teiid/transport=odata:remove') ;;

```

On a related topic, you can redirect HTTP (8080) connection to HTTPS (8443).

> **[HTTPS Configuration & HTTP-to-HTTPS Redirect](https://docs.datavirtuality.com/v3/https-configuration-http-to-https-redirect#HTTPSConfiguration&HTTP-to-HTTPSRedirect-HTTP-to-HTTPSRedirect)**
>
> To set up HTTP to HTTPS redirect, run the following commands: | You are looking at an older version of the documentation. The latest version is found here. You can set up an HTTPS configuration and then configur...

\* TLS ports are encrypted ports providing secure data transmission between you and Data Virtuality. TLS is the successor technology to SSL.
