The Service Tunnel does not connect because another application or service on the device already uses port 53, the standard DNS port. The CSE desktop app uses this port to resolve DNS for the Service Tunnel and for Internet Threat Protection (ITP).
Could not connect to the tunnel config. Please ensure port 53 is not in use.Another application or service on the device listens on port 53. Examples include local DNS proxies, DNS filtering clients such as the Cisco Umbrella Roaming Client, and name responders that also answer DNS queries on port 53.
Disconnect the Service Tunnel, and then run the commands for the device's operating system.
Windows (PowerShell, run as administrator):
Get-NetUDPEndpoint -LocalPort 53 | Select-Object LocalAddress, OwningProcess
Get-NetTCPConnection -LocalPort 53 -State Listen | Select-Object LocalAddress, OwningProcess
Get-Process -Id <OwningProcess>
macOS and Linux:
sudo lsof -nP -i :53
On Linux, systemd-resolved listens on 127.0.0.53 by default. This listener is expected and does not cause the error.
Choose the option that fits the device:
To turn on NRPT rules:
2.1 In the Command Center, navigate from Settings > Configurations > Service Tunnels.
2.2 Under Use NRPT rules for Windows DNS resolution, select Enable.
NRPT rules can take up to 1 hour to take effect. See Enabling NRPT Rules.
In the desktop app, connect to the Service Tunnel again. The Service Tunnel shows as Connected.