[GH-ISSUE #1976] On Client Restart I have to reenter the Barrier Server IP address #1446

Open
opened 2026-05-05 07:50:54 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Abanar84 on GitHub (Sep 19, 2023).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1976

What happened?

When I restart the client computer, Barrier starts up and connects, I log into the computer, and Barrier resets its IP address and I have to manually go to the other computer and change the IP address to the Barrier Server in order to reconnect. I then have to "Reload" Barrier on both machines in order to get it working.

I tried Bonjour auto connect, but it will not install on Windows 11.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

GitHub page

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

Windows

What OS versions are you using?

Windows 11 on both machines

Relevant log output

No response

Any other information

No response

Originally created by @Abanar84 on GitHub (Sep 19, 2023). Original GitHub issue: https://github.com/debauchee/barrier/issues/1976 ### What happened? When I restart the client computer, Barrier starts up and connects, I log into the computer, and Barrier resets its IP address and I have to manually go to the other computer and change the IP address to the Barrier Server in order to reconnect. I then have to "Reload" Barrier on both machines in order to get it working. I tried Bonjour auto connect, but it will not install on Windows 11. ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? GitHub page ### What OSes are you seeing the problem on? (Check all that apply) Windows ### What OS versions are you using? Windows 11 on both machines ### Relevant log output _No response_ ### Any other information _No response_
Author
Owner

@Derek-Roberts commented on GitHub (Sep 24, 2024):

Unsure if you ever found a fix for this but what worked for me was on my Windows client that kept forgetting the IP I used the following to launch the client .exe w/ a specified hostname and IP:

  1. Created a shortcut within C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  2. Edited the properties w/ right click
  3. Used the following for Target: "C:\Program Files\Barrier\barrierc.exe" -f --debug INFO --name CLIENTHOSTNAME --ipc --stop-on-desk-switch --enable-drag-drop --disable-crypto --profile-dir "C:\Users\USERNAME\AppData\Local\Barrier" [YOUR_CLIENT_IPV4/6_ADDRESS]:24800
  4. Set it to run as administrator via the Advanced menu of that shortcut as well (unsure if this makes a difference w/ privilege escalation)

It takes a sec on startup and you will need to refresh your server connection (at least on my Mac I need to do this) but that should get things running w/ it remembering the IP. It never took via the config file like the FAQ shows for some reason.

<!-- gh-comment-id:2372465696 --> @Derek-Roberts commented on GitHub (Sep 24, 2024): Unsure if you ever found a fix for this but what worked for me was on my Windows client that kept forgetting the IP I used the following to launch the client .exe w/ a specified hostname and IP: 1. Created a shortcut within `C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup` 2. Edited the properties w/ right click 3. Used the following for Target: `"C:\Program Files\Barrier\barrierc.exe" -f --debug INFO --name CLIENTHOSTNAME --ipc --stop-on-desk-switch --enable-drag-drop --disable-crypto --profile-dir "C:\Users\USERNAME\AppData\Local\Barrier" [YOUR_CLIENT_IPV4/6_ADDRESS]:24800` 4. Set it to run as administrator via the Advanced menu of that shortcut as well (unsure if this makes a difference w/ privilege escalation) It takes a sec on startup and you will need to refresh your server connection (at least on my Mac I need to do this) but that should get things running w/ it remembering the IP. It never took via the config file like the FAQ shows for some reason.
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#1446
No description provided.