买了台服务器 安装的ubuntu怎么查看外网ip 还是怎么设置 服务器在公司 用的光纤 怎么让外部访问
光阴似箭催人老,日月如移越少年。
Run the following command to view the external IP address of this machine: curl ifconfig.sh
curl ifconfig.sh
External access requires port mapping
ifconfig|grep inet
http://www.ip138.com/ You can see your external IP address at this website. Although Tencent also has an http://ip.qq.com/, it seems to be inaccurate sometimes.
curl ip.gs curl ifconfig.me
I’m curious how you logged in
Run the following command to view the external IP address of this machine:
curl ifconfig.sh
External access requires port mapping
http://www.ip138.com/ You can see your external IP address at this website. Although Tencent also has an http://ip.qq.com/, it seems to be inaccurate sometimes.
curl ip.gs curl ifconfig.me
I’m curious how you logged in