多个IP就不需要虚拟主机啦。可以直接在conf/server.xml里配置就行了。你有多个Host就写几个就好了! <Host name="192.168.0.1" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" reloadable="true" debug="true" docBase="coun" /> </Host> <Host name="117.12.57.222" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" reloadable="true" debug="true" docBase="ROOT" /> </Host>