Tomcat startup method:
1. Startup.bat start
- Operation: Find the tomcat installation directory, then find the
bin
directorystartup.bat
, double-click to start. - Verification: After startup, enter the following address in the browser's address bar, if the Tomcat welcome page appears, the startup is successful.
- http://localhost:8080
- http://127.0.0.1:8080
- http://computer real ip:8080
- If you close it
bin
, find it in the directoryshutdown.bat
, double click to close it. Or directly X off.
2. Command start
- Enter the bin directory of the tomcat installation in cmd (or directly in the bin directory and enter cmd in the address bar), enter the command
catalina run
, press Enter, and the startup is successful. - The test start is the same as the verification method above.
3. Problem solving
If there is any 拒绝访问
startup error, just grant read and write permissions to the Tomcat installation directory. The operation method is: 右击Tomcat安装目录
—> 属性
—> 安全
, just add modification and write permissions under the current user.