Tomcat cannot start and crash

**

Tomcat can't start flashback, external network access

**


One, jdk environment variables and Tomcat environment variables

Example: pandas is a tool based on NumPy, which was created to solve data analysis tasks.
Insert picture description here

Second, view the service.xml file configuration

1. It is best not to match this for the first startup

2. Check whether the port is impulsive, 80 and 8080 may conflict

The code is as follows (example):

--1.dos窗口中输入:netstat -ano | findstr 8080 
找到占用的端口,然后kill

--2.kill占用的端口
taskkill -pid (进程pid) -f

What I mainly solve is the problem of external network accessing internal network data

Drag the war package directly into the webapp

Tomcat deployment, port mapping through Shenzhuo Internet , simple and convenient

to sum up

Tip: Here is a summary of the article: the
initial release, bear with me, the layout needs to be improved

Guess you like

Origin blog.csdn.net/weixin_46661406/article/details/112631375