zerotier.is
AdLuoboyunAn account comes with 1 GB of trial traffic for 24 hours, used with Clash / MihomoPays by Alipay, WeChat, cryptoGet the trialLuoboyun: 1 GB on registrationFor 24 hours, Alipay / WeChat / cryptoGet the trialAd
  1. Home
  2. Blog
  3. Errors

Errors Written

Fixing PORT_ERROR

PORT_ERROR means the virtual adapter did not start. Install zttap300.inf by hand on Windows, allow the extension on macOS, deal with other VPNs.

The road is there; the bridge is up
The road is there; the bridge is up AgainErick, CC BY-SA 4.0

PORT_ERROR says the program runs and has found the network; only the virtual adapter is missing. The operating system decides that, so the cure differs.

The PORT in PORT_ERROR is the virtual adapter, not a network port. Opening ports in the router or changing 9993 has nothing to do with it.

Windows

  1. Restart the PCfirst
  2. Install the driver by handthe official way
  3. Remove other VPNs, reinstalllast
From mild to strong

By hand:

  1. Open C:\ProgramData\ZeroTier\One\tap-windows\x64; the folder is hidden.
  2. Right-click zttap300.inf and choose Install.
  3. Restart the ZeroTier One service.
Services (drawing)

macOS

Newer systems want the extension allowed by hand. Under System Settings, Privacy & Security scroll to the Allow button, then restart the service:

Terminal
sudo launchctl unload /Library/LaunchDaemons/com.zerotier.one.plist
sudo launchctl load /Library/LaunchDaemons/com.zerotier.one.plist

Allow does nothing

CauseNote
You are on remote controlClick while sitting at the Mac
A mouse enhancement toolQuit it first
No buttonReinstall and look within half an hour

Other virtual adapters

OpenVPN, some accelerators and virtual machines bring drivers that can quarrel. Remove them, restart, install ZeroTier, put them back.

Is the adapter there

Administrator, Windows
Get-NetAdapter | Where-Object InterfaceDescription -like "*ZeroTier*"
pnputil /enum-drivers | Select-String -Context 2,4 zttap

Missing: not installed. Warning sign: broken driver. Fine: the address failed.

macOS, Linux
ifconfig | grep -A3 -E "^(feth|zt)"
ls -l /dev/net/tun

Why the Windows driver fails

SymptomCauseDo
Not signedOld system without certificatesUpdate Windows
Access deniedNo rights or security softwareAs administrator, allow it
Installs and vanishesCompany policyAsk the administrator
Core isolation complainsOld driverLatest version
Works in safe mode onlyConflictQuit programs one by one

Uninstall, show hidden devices, remove old ZeroTier adapters, restart, install. That beats installing over it.

macOS: no Allow button

It moved several times: General → Login Items & Extensions → Network Extensions, or the bottom of Privacy & Security. It shows for about half an hour after installing; otherwise reinstall. Old versions on Apple chips needed lower security; new ones do not. On company Macs the administrator approves it.

Small Linux machines

Cheap container VPS have no TUN unless the panel offers a switch. In Docker add --device=/dev/net/tun --cap-add=NET_ADMIN. On rolling distributions a kernel update without restart gives the same error.

The address fails

Another network uses the same range. Choose an unusual pool such as 10.147.17.0/24 and join again.

  1. Adapter thereNo: driver
  2. Warning signYes: reinstall it
  3. AddressNo: Allow Managed, range
  4. OtherwiseThe system log
In order
Are my networks still there after a reinstall?

Yes. Identity and networks are in the working folder, which uninstalling keeps.

PORT_ERROR on Linux?

Possible, mostly because /dev/net/tun is missing, as on small VPSs and in containers.

A restart helps for two days?

Some program changes network settings; note what was started before.

After a Windows update?

Large ones reinstall network parts; reinstall ZeroTier.

In a virtual machine?

Use a bridged network and allow drivers.

Up next

Pages nearby

Marks: ZeroTier PORT_ERROR, ZeroTier virtual adapter, ZeroTier driver failed