为什么tomcat6必须使用localhost!

tomcat部署主机上必须有localhost设置,否则tomcat6启动报错:
+==================================================================
严重: StandardServer.await: create[9005]:
java.net.UnknownHostException: localhost: localhost
        at java.net.InetAddress.getAllByName0(InetAddress.java:1128)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
        at java.net.InetAddress.getAllByName(InetAddress.java:1061)
        at java.net.InetAddress.getByName(InetAddress.java:958)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)


=======================================================

为什么非要在主机上有 "192.168.1.1 locahost" 这样的配置才行,难道不能在tomcat的配置里修改吗?
看了看tomcat的源码,
org.apache.catalina.core.StandardServer中有这段代码

            serverSocket =
                new ServerSocket(port, 1,
                                InetAddress.getByName("localhost"));

god,如何是好呢?