---
title: serverAddress
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritemerrorlogevent/serveraddress
---

# serverAddress

The IP address of the server that was the source of the error.

## Declaration

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

## Discussion

Discussion The property corresponds to “s-ip”. The value of this property can be either an IPv4 or IPv6 address, and may be nil if the address is unknown.

## See Also

### Getting information about the event

- [date](avfoundation/avplayeritemerrorlogevent/date.md)
- [uri](avfoundation/avplayeritemerrorlogevent/uri.md)
- [playbackSessionID](avfoundation/avplayeritemerrorlogevent/playbacksessionid.md)
- [errorStatusCode](avfoundation/avplayeritemerrorlogevent/errorstatuscode.md)
- [errorDomain](avfoundation/avplayeritemerrorlogevent/errordomain.md)
- [errorComment](avfoundation/avplayeritemerrorlogevent/errorcomment.md)
- [allHTTPResponseHeaderFields](avfoundation/avplayeritemerrorlogevent/allhttpresponseheaderfields.md)
