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

# address

Returns one of the network addresses of the receiver.

## Declaration

```swift
var address: String? { get }
```

## Return Value

Return Value One of the network address for the receiver. For example, "192.42.172.1" or "fe80::1".

## See Also

### Getting Host Information

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