linux 获取内网地址 ifconfighostname -I 通过 api 获取公网地址 curl myip.ipip.netcurl ifconfig.mecurl ipinfo.iocurl cip.cc windows 获取网络信息 ipconfig