---
title: addresses
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/host/addresses
---

# addresses

Returns all the network addresses of the receiver.

## Declaration

```swift
var addresses: [String] { get }
```

## Return Value

Return Value All the network addresses of the receiver.

## See Also

### Getting Host Information

- [address](foundation/host/address.md)
- [name](foundation/host/name.md)
- [localizedName](foundation/host/localizedname.md)
- [names](foundation/host/names.md)
