---
title: "Get host port"
method: GET
path: "/v2/servers/{serverName}/vhosts/{vhostName}/hostports/{portname}"
tags: ["Virtual Hosts"]
---

# Get host port

`GET /v2/servers/{serverName}/vhosts/{vhostName}/hostports/{portname}`

Retrieves the host port for the specified vhost and port. This API is available in builds 15089 or later.

## Path parameters

- `serverName` string, required
- `vhostName` string, required
- `portname` string, required

## Response `200`

Successful response

- HostPortConfig
  - `sslDomainToKeyStoreMapPath` string, required
  - `ipAddress` string, required
  - `serverName` string, required
  - `sslKeyStoreType` string, required
  - `HTTPProviders` HTTPProviderConfig[], required
    - `requestFilters` string, required
    - `authenticationMethod` string, required
    - `serverName` string, required
    - `baseClass` string, required
    - `saveFieldList` string[]
    - `version` string, required
  - `sslAlgorithm` string, required
  - `type` string, required
  - `sslKeyStorePath` string, required
  - `version` string, required
  - `ssl` string[], required
  - `sslEnable` boolean, required
  - `sslKeyStorePassword` string, required
  - `sslProtocols` string[], required
  - `webRtcEnable` Boolean, required
  - `port` string, required
  - `name` string, required
  - `sslProtocol` string, required
  - `sslDomains` string[], required
  - `saveFieldList` string[]

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `402` — Payment Required
- `404` — Not found
- `415` — Unsupported Media Type
- `500` — Internal server error

---

[API](https://skmtc.net/wowza/apis/wowza-streaming-engine-rest-api.md) · [All operations](https://skmtc.net/wowza/apis/wowza-streaming-engine-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wowza/wowza-streaming-engine-rest-api/revisions/f2200a734783/schema)
