[GH-ISSUE #5072] Install on Server 2016 and get rpc error: code = DeadlineExceeded desc = context deadline exceeded #9834

Open
opened 2026-08-05 01:23:40 -04:00 by saavagebueno · 4 comments
Owner

Originally created by @rmerrill-cyber on GitHub (Jan 8, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5072

Noticed that our DC was not on the netbird.io peers group and tried to update netbird and reconnect.

Now Netbird keeps trying to connect and I can see wt0 getting created in Network connections and then disconnecting and it continues to create and destroy the connection.

Every time I try to connect using the CLI (netbird up) I am able to log in and add the host to the peers list but the tunnel keeps coming back with "Error: daemon up failed: call service up method: rpc error: code = DeadlineExceeded desc = context deadline exceeded"

I've deregistered and re-registered, uninstalled and reinstalled, gone back to previously know good versions, tried new profiles and even reconfigured the netbird service through the CLI

No change ever happens. I'm not sure where to look at this point and the server has been offline for a week now and I need help figuring this one out.

Originally created by @rmerrill-cyber on GitHub (Jan 8, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5072 Noticed that our DC was not on the netbird.io peers group and tried to update netbird and reconnect. Now Netbird keeps trying to connect and I can see wt0 getting created in Network connections and then disconnecting and it continues to create and destroy the connection. Every time I try to connect using the CLI (netbird up) I am able to log in and add the host to the peers list but the tunnel keeps coming back with "Error: daemon up failed: call service up method: rpc error: code = DeadlineExceeded desc = context deadline exceeded" I've deregistered and re-registered, uninstalled and reinstalled, gone back to previously know good versions, tried new profiles and even reconfigured the netbird service through the CLI No change ever happens. I'm not sure where to look at this point and the server has been offline for a week now and I need help figuring this one out.
Author
Owner

@Yue030 commented on GitHub (Feb 19, 2026):

same problem

<!-- gh-comment-id:3929878806 --> @Yue030 commented on GitHub (Feb 19, 2026): same problem
Author
Owner

@purepani commented on GitHub (Apr 20, 2026):

Also have this problem

<!-- gh-comment-id:4283515908 --> @purepani commented on GitHub (Apr 20, 2026): Also have this problem
Author
Owner

@ozrhamn commented on GitHub (Apr 20, 2026):

It appears that this is due to the DNS port range being the same as the netbird port. Windwos server has occupied the port that netbird needs to start wt0 You need to set the Netbird port to something outside of the DNS port range. Something like the 48000 range so that they don't overlap.
You will need to bring netbird down, stop the service, change the port number and restart the service and bring the tunnel back up.

I hope this helps and I was able to correct the issue making that change.

Netbird, can we set the default port to something not in the domain DNS range? [49152-65535]

<!-- gh-comment-id:4283840008 --> @ozrhamn commented on GitHub (Apr 20, 2026): It appears that this is due to the DNS port range being the same as the netbird port. Windwos server has occupied the port that netbird needs to start wt0 You need to set the Netbird port to something outside of the DNS port range. Something like the 48000 range so that they don't overlap. You will need to bring netbird down, stop the service, change the port number and restart the service and bring the tunnel back up. I hope this helps and I was able to correct the issue making that change. Netbird, can we set the default port to something not in the domain DNS range? [49152-65535]
Author
Owner

@ozrhamn commented on GitHub (Apr 20, 2026):

I was the original poster and I was using a work account, this is my personal account here is the CLI for CMD if you guys need it.

To set a custom WireGuard port for NetBird on Windows Server, execute the command netbird up --wireguard-port <port_number> in an elevated terminal.

The configuration file, including the port setting, is stored at %PROGRAMDATA%\Netbird\config.json. For more details, visit NetBird Docs.

<!-- gh-comment-id:4283888414 --> @ozrhamn commented on GitHub (Apr 20, 2026): I was the original poster and I was using a work account, this is my personal account here is the CLI for CMD if you guys need it. To set a custom WireGuard port for NetBird on Windows Server, execute the command netbird up --wireguard-port <port_number> in an elevated terminal. The configuration file, including the port setting, is stored at %PROGRAMDATA%\Netbird\config.json. For more details, visit [NetBird Docs](https://docs.netbird.io/get-started/cli).
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#9834