<!--
{
  "availability" : [
    "iOS: 14.2.0 -",
    "iPadOS: 14.2.0 -",
    "macCatalyst: 14.2.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEAppProxyFlow/remoteHostname",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEAppProxyFlow(py)remoteHostname"
  },
  "title" : "remoteHostname"
}
-->

# remoteHostname

The remote host name for flows created from a hostname.

```
var remoteHostname: String? { get }
```

## Discussion

The flow populates this property when you create the flow from a connect-by-name API such as <doc://com.apple.documentation/documentation/Foundation/URLSession> or the <doc://com.apple.documentation/documentation/Network> framework.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)