From 9908e04e04d993caf97eb68197fcb5c2447ebbba Mon Sep 17 00:00:00 2001 From: nikoano Date: Sat, 5 Sep 2026 17:03:34 +0300 Subject: [PATCH] fix(install): probe only TCP when validating the target port --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 955c73d..487e108 100644 --- a/install.sh +++ b/install.sh @@ -447,9 +447,9 @@ check_port_availability() { port_info="" if command -v ss >/dev/null 2>&1; then - port_info=$($SUDO ss -tulnp 2>/dev/null | grep -E ":${SERVER_PORT}([[:space:]]|$)" || true) + port_info=$($SUDO ss -tlnp 2>/dev/null | grep -E ":${SERVER_PORT}([[:space:]]|$)" || true) elif command -v netstat >/dev/null 2>&1; then - port_info=$($SUDO netstat -tulnp 2>/dev/null | grep -E ":${SERVER_PORT}([[:space:]]|$)" || true) + port_info=$($SUDO netstat -tlnp 2>/dev/null | grep -E ":${SERVER_PORT}([[:space:]]|$)" || true) elif command -v lsof >/dev/null 2>&1; then port_info=$($SUDO lsof -i :${SERVER_PORT} 2>/dev/null | grep LISTEN || true) else