[GH-ISSUE #1316] Can't connect Ubuntu client to Windows server (it works vice versa). #1044

Open
opened 2026-05-05 07:24:20 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @martinkoncan on GitHub (Oct 14, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1316

What happened?

I can't connect Ubuntu client to Windows server (it works vice versa). In logs I get a message: failed to connect to server: timed out. Nc -vz ip 24800 also returns timed out.

Version

v2.3.3

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

No response

What OSes are you seeing the problem on? (Check all that apply)

Linux, Windows

What OS versions are you using?

Windows: 21H!
Ubuntu: 20.04.3 LTS

Relevant log output

No response

Any other information

No response

Originally created by @martinkoncan on GitHub (Oct 14, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1316 ### What happened? I can't connect Ubuntu client to Windows server (it works vice versa). In logs I get a message: failed to connect to server: timed out. Nc -vz ip 24800 also returns timed out. ### Version v2.3.3 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? _No response_ ### What OSes are you seeing the problem on? (Check all that apply) Linux, Windows ### What OS versions are you using? Windows: 21H! Ubuntu: 20.04.3 LTS ### Relevant log output _No response_ ### Any other information _No response_
gitea-mirror added the
cantfix
label 2026-05-05 07:24:20 -06:00
Author
Owner

@p12tic commented on GitHub (Nov 3, 2021):

@martinkoncan The fact that nc times out indicates that this is not a problem with Barrier, but has something to do with your firewall. Could you maybe check that?

<!-- gh-comment-id:959614533 --> @p12tic commented on GitHub (Nov 3, 2021): @martinkoncan The fact that nc times out indicates that this is not a problem with Barrier, but has something to do with your firewall. Could you maybe check that?
Author
Owner

@NastuzziSamy commented on GitHub (Dec 22, 2021):

Hey @martinkoncan , I had the same issue. You need to tell to Windows that you open your firewall to Barrier server.

I had to add barriers.exe as follow:
https://pureinfotech.com/allow-apps-firewall-windows-10/

image

<!-- gh-comment-id:999825306 --> @NastuzziSamy commented on GitHub (Dec 22, 2021): Hey @martinkoncan , I had the same issue. You need to tell to Windows that you open your firewall to Barrier server. I had to add `barriers.exe` as follow: https://pureinfotech.com/allow-apps-firewall-windows-10/ ![image](https://user-images.githubusercontent.com/24639904/147147765-59beefcb-052d-46b8-a66a-fcd47cf58710.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1044
No description provided.