[GH-ISSUE #276] Server port already used #74

Closed
opened 2026-10-13 20:12:11 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @Abayganov on GitHub (Aug 8, 2023).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/276

Hello.
Tried to install Amnezia server by Amnezia-client for ios.
After choosing protocols (openvpn + vpn, port tcp/443) progress failed with message “server port already used”
Quote of log: `2023-08-07 22:55:02 debug ServerController::Run script
2023-08-07 22:55:02 debug sudo docker ps --format '{{.Names}} {{.Ports}}'
2023-08-07 22:55:02 debug SSH chanel opened
2023-08-07 22:55:02 debug ServerController::runScript finished

2023-08-07 22:55:02 debug ServerController::setupContainer amnezia-openvpn-cloak
2023-08-07 22:55:02 debug ServerController::Run script
2023-08-07 22:55:02 debug CUR_USER=$(whoami);
groups $CUR_USER
2023-08-07 22:55:02 debug SSH chanel opened
2023-08-07 22:55:03 debug ServerController::runScript finished

2023-08-07 22:55:03 debug ServerController::Run script
2023-08-07 22:55:03 debug sudo lsof -i -P -n | grep -E ':443 ' | grep -i tcp | grep LISTEN
2023-08-07 22:55:03 debug SSH chanel opened
2023-08-07 22:55:03 debug ServerController::runScript finished

2023-08-07 22:55:03 debug doInstallAction finished with code ErrorCode::5("Server port already used. Check for another software") `

Due manual checking of sudo lsof -i -P -n | grep -E ':443 ' on server return empty result.
So can’t to continue install Amnezia VPN.
Is exist workaround to install server part of it?

Originally created by @Abayganov on GitHub (Aug 8, 2023). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/276 Hello. Tried to install Amnezia server by Amnezia-client for ios. After choosing protocols (openvpn + vpn, port tcp/443) progress failed with message “server port already used” Quote of log: `2023-08-07 22:55:02 debug ServerController::Run script 2023-08-07 22:55:02 debug sudo docker ps --format '{{.Names}} {{.Ports}}' 2023-08-07 22:55:02 debug SSH chanel opened 2023-08-07 22:55:02 debug ServerController::runScript finished 2023-08-07 22:55:02 debug ServerController::setupContainer amnezia-openvpn-cloak 2023-08-07 22:55:02 debug ServerController::Run script 2023-08-07 22:55:02 debug CUR_USER=$(whoami);\ groups $CUR_USER 2023-08-07 22:55:02 debug SSH chanel opened 2023-08-07 22:55:03 debug ServerController::runScript finished 2023-08-07 22:55:03 debug ServerController::Run script 2023-08-07 22:55:03 debug sudo lsof -i -P -n | grep -E ':443 ' | grep -i tcp | grep LISTEN 2023-08-07 22:55:03 debug SSH chanel opened 2023-08-07 22:55:03 debug ServerController::runScript finished 2023-08-07 22:55:03 debug doInstallAction finished with code ErrorCode::5("Server port already used. Check for another software") ` Due manual checking of sudo lsof -i -P -n | grep -E ':443 ' on server return empty result. So can’t to continue install Amnezia VPN. Is exist workaround to install server part of it?
Author
Owner

@sameamnezia commented on GitHub (Aug 8, 2023):

I've got EXACTLY same problem on linux-installer. Tried debian11\10 as client and Ubuntu\Debian\Fedora as a server. Nothing helps. Looks like buggy in Amnezia Software.

<!-- gh-comment-id:1670095497 --> @sameamnezia commented on GitHub (Aug 8, 2023): I've got EXACTLY same problem on linux-installer. Tried debian11\10 as client and Ubuntu\Debian\Fedora as a server. Nothing helps. Looks like buggy in Amnezia Software.
Author
Owner

@mariakottur commented on GitHub (Aug 8, 2023):

Same problem with 3.0.8.1. Port 443 on the server is not busy.
Version 2.1.2 works great.

OS: Ubuntu 20.04

<!-- gh-comment-id:1670346518 --> @mariakottur commented on GitHub (Aug 8, 2023): Same problem with 3.0.8.1. Port 443 on the server is not busy. Version 2.1.2 works great. OS: Ubuntu 20.04
Author
Owner

@MrFree commented on GitHub (Aug 8, 2023):

I have encountered similar symptoms (ubuntu 22.04 minimal). I didn't have lsof installed.

<!-- gh-comment-id:1670401318 --> @MrFree commented on GitHub (Aug 8, 2023): I have encountered similar symptoms (ubuntu 22.04 minimal). I didn't have lsof installed.
Author
Owner

@Abayganov commented on GitHub (Aug 9, 2023):

When tried to install by builtin root account, installation continued.
Suppose installing by sudo delegated account is not enough. And problem was with permission but not with 443 port.

<!-- gh-comment-id:1671850739 --> @Abayganov commented on GitHub (Aug 9, 2023): When tried to install by builtin root account, installation continued. Suppose installing by sudo delegated account is not enough. And problem was with permission but not with 443 port.
Author
Owner

@AriesAlex commented on GitHub (Aug 16, 2023):

for me helped installing lsof
sudo apt install -y lsof

<!-- gh-comment-id:1681116690 --> @AriesAlex commented on GitHub (Aug 16, 2023): for me helped installing lsof sudo apt install -y lsof
Author
Owner

@baakhoff commented on GitHub (Sep 24, 2023):

for me helped installing lsof sudo apt install -y lsof

Same thing, thank you, I am using Centos and didn't want to install apt so sudo yum install -y lsof

<!-- gh-comment-id:1732554919 --> @baakhoff commented on GitHub (Sep 24, 2023): > for me helped installing lsof sudo apt install -y lsof Same thing, thank you, I am using Centos and didn't want to install apt so `sudo yum install -y lsof`
Sign in to join this conversation.
No labels
pull-request
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
amnezia-vpn/amnezia-client#74
No description provided.