When configuring Tomcat virtual host, finally will change the port number to 80, enter www.test.com but It works! Rather than the project, but if change the port to the other, such as 8888, then visit www.test.com:8888 is out of the project,
I configured the conf/server host in the XML file, also changed the defaulthost and increased/private/etc/hosts file in IP mapping,
Complete the configuration process to write to his blog, free grants see, be obliged!
http://alvis.club/2020/02/15/JavaWeb from entry to the grave - Part2. Tomcat configuration virtual path