---
title: "init(address:port:)"
framework: networkextension
role: symbol
role_heading: Initializer
path: "networkextension/neproxyserver/init(address:port:)"
---

# init(address:port:)

Initialize a newly-allocated NEProxyServer object

## Declaration

```swift
init(address: String, port: Int)
```

## Parameters

- `address`: The address of the proxy server.
- `port`: The TCP port on which the proxy server is listening for connections.
