mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-08-31 22:35:22 +00:00
This commit is contained in:
2
acme.sh
2
acme.sh
@@ -1188,7 +1188,7 @@ _ss() {
|
|||||||
|
|
||||||
if _exists "netstat"; then
|
if _exists "netstat"; then
|
||||||
_debug "Using: netstat"
|
_debug "Using: netstat"
|
||||||
if netstat -h 2>&1 | grep "\-p proto" >/dev/null; then
|
if netstat -help 2>&1 | grep "\-p proto" >/dev/null; then
|
||||||
#for windows version netstat tool
|
#for windows version netstat tool
|
||||||
netstat -an -p tcp | grep "LISTENING" | grep ":$_port "
|
netstat -an -p tcp | grep "LISTENING" | grep ":$_port "
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user