Home  >  Q&A  >  body text

ubuntu15.04 - 买了台服务器 安装的ubuntu怎么查看外网ip 还是怎么设置

买了台服务器 安装的ubuntu怎么查看外网ip 还是怎么设置 服务器在公司 用的光纤 怎么让外部访问

大家讲道理大家讲道理2736 days ago507

reply all(5)I'll reply

  • PHP中文网

    PHP中文网2017-04-22 08:58:09

    Run the following command to view the external IP address of this machine:
    curl ifconfig.sh


    External access requires port mapping

    reply
    0
  • 怪我咯

    怪我咯2017-04-22 08:58:09

    ifconfig|grep inet

    reply
    0
  • PHP中文网

    PHP中文网2017-04-22 08:58:09

    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.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-22 08:58:09

    curl ip.gs curl ifconfig.me

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-22 08:58:09

    I’m curious how you logged in

    reply
    0
  • Cancelreply