# Communication ports

## List of All Adaptiva Ports

[List of All Adaptiva Ports](https://adaptiva.com/hubfs/Docs/OneSite-Port-Detail.pdf).

## Communication Port and Flow Diagrams

[Communication Port and Flow Diagrams](https://adaptiva.com/hubfs/Docs/OneSite-Communications-Port-and-Flow-Diagram.pdf).

## Additional Firewall Rules

### Adaptiva Server Firewall Rule NETSH Commands

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Server -- 1\" action=allow dir=in enable=yes profile=domain localport=34545 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Server -- 2\" action=allow dir=in enable=yes profile=domain localport=34339 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Server -- 3\" action=allow dir=in enable=yes profile=domain localport=34341 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Server -- 4\" action=allow dir=in enable=yes profile=domain localport=34331 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Server -- 5\" action=allow dir=in enable=yes profile=domain localport=34333 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Server Service\" action=allow dir=in enable=yes profile=domain protocol=any edge=no program=\<AdaptivaServerInstallPath\>\\AdaptivaServer\\bin\\AdaptivaServerService.exe
```

### Adaptiva Client Firewall Rule NETSH Commands

Sometimes client VPN solutions or corporate Wi-Fi networks may show as Public or Private profile; therefore, it is often best to add the rule to all profiles for clients. To do this change the **profile=domain** values for each line to **profile=domain,private,public**

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client Service\" action=allow dir=in enable=yes profile=domain,private,public protocol=any edge=no program=\"\<path\>\\Adaptiva\\AdaptivaClient\\bin\\AdaptivaClientService.exe\"
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client\" action=allow dir=in enable=yes profile=domain,private,public localport=34760,34750,34546,34335,34337,34343,34345 protocol=udp edge=no
```

The following rules are deprecated:

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client -- 1\" action=allow dir=in enable=yes profile=domain localport=34760 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client -- 2\" action=allow dir=in enable=yes profile=domain localport=34750 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client -- 3\" action=allow dir=in enable=yes profile=domain localport=34546 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client -- 4\" action=allow dir=in enable=yes profile=domain localport=34335 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client -- 5\" action=allow dir=in enable=yes profile=domain localport=34337 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client -- 6\" action=allow dir=in enable=yes profile=domain localport=34343 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client -- 7\" action=allow dir=in enable=yes profile=domain localport=34345 protocol=udp edge=no
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client Service\" action=allow dir=in enable=yes profile=domain protocol=tcp edge=no program=\<*path*\>\\AdaptivaClient\\bin\\AdaptivaClientService.exe
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Client Service\" action=allow dir=in enable=yes profile=domain protocol=udp edge=no program=\<*path*\>\\AdaptivaClient\\bin\\AdaptivaClientService.exe
```

### Adaptiva Workbench Firewall Rule NETSH Commands

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Workbench\" action=allow dir=in enable=yes profile=domain protocol=udp edge=no program=\<*AdaptivaServerInstallPath*\>\\AdaptivaWorkbench\\AdaptivaWorkbench.exe
```

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva Workbench\" action=allow dir=in enable=yes profile=domain protocol=tcp edge=no program=\<*AdaptivaServerInstallPath*\>\\AdaptivaWorkbench\\AdaptivaWorkbench.exe
```

### Adaptiva Server to ACC Firewall Rule NETSH Commands

This should be run on the Adaptiva Server when outbound rules are restricted.

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva to ACC\" action=allow dir=out enable=yes profile=domain protocol=udp remoteport=34320 edge=no \[remoteip=\<ACC IP Address\>\]
```

This should be run on the Adaptiva Server when inbound rules are restricted

```netsh
netsh advfirewall firewall add rule name = \"ACC to Adaptiva UDP\" action=allow dir=in enable=yes profile=domain protocol=udp localport=34323 edge=no \[remoteip=\<ACC IP Address\>\]
```

```netsh
netsh advfirewall firewall add rule name = \"ACC to Adaptiva HTTPS\" action=allow dir=in enable=yes profile=domain protocol=tcp localport=54322 edge=no \[remoteip=\<ACC IP Address\>\]
```

### ACC to Adaptiva Server Firewall Rule NETSH Commands

This should be run on the ACC Server when inbound rules are restricted. The range 192.30.64.0-192.30.79.255 are public IP Addresses for AirWatch servers.

```netsh
netsh advfirewall firewall add rule name = \"Adaptiva to ACC\" action=allow dir=in enable=yes profile=domain protocol=udp localport=34320 edge=no \[remoteip=\<Adaptiva IP Address\>\]
```

```netsh
netsh advfirewall firewall add rule name = \"Airwatch\" action=allow dir=in enable=yes profile=domain protocol=tcp localport=443 edge=no \[remoteip=192.30.64.0-192.30.79.255\]
```

This should be run on the ACC Server when outbound rules are restricted.

```netsh
netsh advfirewall firewall add rule name = \"ACC to Adaptiva UDP\" action=allow dir=out enable=yes profile=domain protocol=udp remoteport=34323 edge=no \[remoteip=\<Adaptiva IP Address\>\]
```

```netsh
netsh advfirewall firewall add rule name = \"ACC to Adaptiva HTTPS\" action=allow dir=out enable=yes profile=domain protocol=tcp remoteport=54322 edge=no \[remoteip=\<Adaptiva IP Address\>\]
```

```netsh
netsh advfirewall firewall add rule name = \"Airwatch\" action=allow dir=out enable=yes profile=domain protocol=tcp remoteport=443 edge=no \[remoteip=192.30.64.0-192.30.79.255\]
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.adaptiva.com/platform-install/additional-configuration/platform-communication-ports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
