---
title: localAddress
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nwtcpconnection/localaddress
---

# localAddress

The IP address endpoint from which the connection was established.

## Declaration

```swift
var localAddress: NWEndpoint? { get }
```

## See Also

### Getting connection properties

- [endpoint](networkextension/nwtcpconnection/endpoint.md)
- [remoteAddress](networkextension/nwtcpconnection/remoteaddress.md)
- [connectedPath](networkextension/nwtcpconnection/connectedpath.md)
- [txtRecord](networkextension/nwtcpconnection/txtrecord.md)
