Use the Tomcat plug-in on eclipse to configure the domain name, port number, and startup time.

Source: Internet
Author: User

Use the Tomcat plug-in on eclipse to configure the domain name, port number, and startup time.

By NiceCui

  • This document is not reposted. If you need to reposted, you must obtain the author's consent. Thank you.
  • Link: http://www.cnblogs.com/NiceCui/p/7856284.html
  • Email: moyi@moyibolg.com
  • Date:

Use the Tomcat plug-in on eclipse to configure the domain name, port number, and start time

  • Add tomcat in eclipse

 

After configuration, double-click the tomcat configuration page.

  • Configure the port number

If you want to access through a domain name, set it to 80

  • Start Time and close time settings

  • Besides configuring port 80 for domain name access, you must modify the ing.

Then...

  • Finally, configure host

Here you can choose to modify the host file on drive C of the computer or download the software that modifies the host.

Software Download Baidu Network Disk: Link: https://pan.baidu.com/share/init? Surl = hrw.vys password: 7fwt

  • You can also modify the server. xml file under the conf file in tomcat.

The marked localhost must be changed to the domain name to be accessed. Finally, the host must be configured to specify the local location when the domain name points;

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.