search

Home  >  Q&A  >  body text

Javaweb tomcat服务器如何发布到外网

如题,小白一枚,希望大家不吝赐教

PHPzPHPz2897 days ago294

reply all(4)I'll reply

  • 阿神

    阿神2017-04-18 09:58:38

    For your home network, generally set up a virtual server on the router, map it to the computer where you publish tomcat, and then search the IP address on Baidu to check the public IP address, and then you can access it.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:58:38

    As long as you have an IP from the external network, you can either forward it to the internal network through the machine with the external IP, or you can directly hang tomcat on the machine with the external IP

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 09:58:38

    Put it on the server. It is best to get an nginx on the front end to separate dynamic and static, and reverse proxy.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:58:38

    Baidu ngrock.

    reply
    0
  • Cancelreply