mirror of https://github.com/OpenVidu/openvidu.git
discover_my_public_ip.sh updated with new URLs
parent
cc5b6f2892
commit
f2f12ac0d1
|
@ -20,12 +20,13 @@ function valid_ip()
|
|||
|
||||
# Services to get public ip
|
||||
SERVICES=(
|
||||
"curl --silent -sw :%{http_code} ipv4.icanhazip.com"
|
||||
"curl --silent -sw :%{http_code} ifconfig.me"
|
||||
"curl --silent -sw :%{http_code} -4 ifconfig.co"
|
||||
"curl --silent -sw :%{http_code} ipecho.net/plain"
|
||||
"curl --silent -sw :%{http_code} ipinfo.io/ip"
|
||||
"curl --silent -sw :%{http_code} checkip.amazonaws.com"
|
||||
"curl --silent -sw :%{http_code} ident.me"
|
||||
"curl --silent -sw :%{http_code} icanhazip.com"
|
||||
"curl --silent -sw :%{http_code} v4.ident.me"
|
||||
)
|
||||
|
||||
# Get public ip
|
||||
|
|
|
@ -20,12 +20,13 @@ function valid_ip()
|
|||
|
||||
# Services to get public ip
|
||||
SERVICES=(
|
||||
"curl --silent -sw :%{http_code} ipv4.icanhazip.com"
|
||||
"curl --silent -sw :%{http_code} ifconfig.me"
|
||||
"curl --silent -sw :%{http_code} -4 ifconfig.co"
|
||||
"curl --silent -sw :%{http_code} ipecho.net/plain"
|
||||
"curl --silent -sw :%{http_code} ipinfo.io/ip"
|
||||
"curl --silent -sw :%{http_code} checkip.amazonaws.com"
|
||||
"curl --silent -sw :%{http_code} ident.me"
|
||||
"curl --silent -sw :%{http_code} icanhazip.com"
|
||||
"curl --silent -sw :%{http_code} v4.ident.me"
|
||||
)
|
||||
|
||||
# Get public ip
|
||||
|
|
|
@ -20,12 +20,13 @@ function valid_ip()
|
|||
|
||||
# Services to get public ip
|
||||
SERVICES=(
|
||||
"curl --silent -sw :%{http_code} ipv4.icanhazip.com"
|
||||
"curl --silent -sw :%{http_code} ifconfig.me"
|
||||
"curl --silent -sw :%{http_code} -4 ifconfig.co"
|
||||
"curl --silent -sw :%{http_code} ipecho.net/plain"
|
||||
"curl --silent -sw :%{http_code} ipinfo.io/ip"
|
||||
"curl --silent -sw :%{http_code} checkip.amazonaws.com"
|
||||
"curl --silent -sw :%{http_code} ident.me"
|
||||
"curl --silent -sw :%{http_code} icanhazip.com"
|
||||
"curl --silent -sw :%{http_code} v4.ident.me"
|
||||
)
|
||||
|
||||
# Get public ip
|
||||
|
|
Loading…
Reference in New Issue