# Retrieves the gateway and file transfer port settings for on-premise tool connections Returns the current gateway port settings including SSL and non-SSL ports for remote control and file transfer connections. ## Endpoints **GET** `/dcapi/tools/portSetting` ## Request URL `https://{server-hostname}:8383/dcapi/tools/portSetting` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory**: `application/json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/tools/portSetting \ --header 'Accept: application/json' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **gatewaySSLPort** `integer`: Gateway SSL port for remote control connections - **gatewayNonSSLPort** `integer`: Gateway non-SSL port for remote control connections - **ftSSLPort** `integer`: File transfer SSL port - **ftNonSSLPort** `integer`: File transfer non-SSL port - **useSSL** `boolean`: Whether SSL is enabled for gateway connections ## Possible Response Codes - **200** `HTTP code` ### Sample Response: HTTP 200 ```json { "gatewayNonSSLPort": 80, "ftSSLPort": 8443, "ftNonSSLPort": 8020, "gatewaySSLPort": 443, "useSSL": true } ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.