tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r669119 - /tomcat/trunk/java/org/apache/catalina/core/StandardServer.java
Date Wed, 18 Jun 2008 09:08:16 GMT
Author: jfclere
Date: Wed Jun 18 02:08:14 2008
New Revision: 669119

URL: http://svn.apache.org/viewvc?rev=669119&view=rev
Log:
Use localhost instead of 127.0.0.1

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardServer.java

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardServer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardServer.java?rev=669119&r1=669118&r2=669119&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardServer.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardServer.java Wed Jun 18 02:08:14 2008
@@ -140,7 +140,7 @@
     /**
      * The address on which we wait for shutdown commands.
      */
-    private String address = "127.0.0.1";
+    private String address = "localhost";
 
 
     /**
@@ -400,8 +400,8 @@
                 new ServerSocket(port, 1,
                                  InetAddress.getByName(address));
         } catch (IOException e) {
-            log.error("StandardServer.await: create[" + port
-                               + ":" + address
+            log.error("StandardServer.await: create[" + address
+                               + ":" + port
                                + "]: ", e);
             System.exit(1);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message