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
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...
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;