I have never created a server before, and now I have built a linux server. jdk1.7mysqltomcat is all ready. it is okay to publish the web during the test. port 80 is required for development. Question 1: First, I understand that port 80 is to modify the tomcat80 port (if...
I have never set up a server before. now I have set up a linux server, and jdk1.7 mysql tomcat is all ready. The web published during the test is okay. port 80 is required for development.
Question 1: First of all, I understand that port 80 is used to modify port 80 of tomcat (if you make a mistake, ask for criticism)
Problem 2: After I changed port 80 and then published it to my server, the error 502 is returned.
Please kindly advise. Thank you ~~~
Reply content:
I have never set up a server before. now I have set up a linux server, and jdk1.7 mysql tomcat is all ready. The web published during the test is okay. port 80 is required for development.
Question 1: First of all, I understand that port 80 is used to modify port 80 of tomcat (if you make a mistake, ask for criticism)
Problem 2: After I changed port 80 and then published it to my server, the error 502 is returned.
Please kindly advise. Thank you ~~~
1 Port 80 should refer to http and 443 should refer to https
The front-end listens to port 80 with nginx, and then forwards dynamic requests to tomcat. Generally, tomcat is not used to directly listen to port 80.