---
title: RTCIceCandidateStats.port
slug: Web/API/RTCIceCandidateStats/port
tags:
  - API
  - Candidate
  - Connection
  - ICE
  - Networking
  - Property
  - RTCIceCandidateStats
  - Reference
  - Statistics
  - Stats
  - WebRTC
  - WebRTC API
  - port
browser-compat: api.RTCIceCandidateStats.port
---
{{APIRef("WebRTC")}}

The {{domxref("RTCIceCandidateStats")}} dictionary's **`port`**
property specifies the network port used by the candidate.

## Syntax

```js
candidatePort = rtcIceCandidateStats.port;
```

### Value

An integer value indicating the network port used by the {{domxref("RTCIceCandidate")}}
described by the `RTCIceCandidateStats` object.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
