Change Tomcat Address on my localhost
问题 On my Tomcat, I have an HTML page. I need to type the following address to make it run: http://127.0.0.1:8080/BiddingSystem/BiddingSystem.html but I want it to be accessed using this address: www.moribiz.com Is this possible just by changing some setting on Tomcat? 回答1: You can configure the host properties in Tomcat's server.xml , and can make an alias to the default localhost host: <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false"