diff --git a/serverinfo.py b/serverinfo.py index c4198f4..95f43d1 100755 --- a/serverinfo.py +++ b/serverinfo.py @@ -5,7 +5,7 @@ import urllib2 import base64 #获取本机IP地址 -myip = urllib2.urlopen('http://members.3322.org/dyndns/getip').read() +myip = urllib2.urlopen('https://api.ipify.org').read() myip = myip.strip() #判断传输配置