Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 24135 invoked from network); 12 Jun 2006 13:17:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jun 2006 13:17:43 -0000 Received: (qmail 87097 invoked by uid 500); 12 Jun 2006 13:17:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 87068 invoked by uid 500); 12 Jun 2006 13:17:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 87056 invoked by uid 99); 12 Jun 2006 13:17:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 06:17:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [195.143.155.10] (HELO elmo.2sheds.de) (195.143.155.10) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 06:17:23 -0700 Received: from [10.0.173.194] (tal2.friendscout24.de [62.245.224.131]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by elmo.2sheds.de (Postfix) with ESMTP id 919FCF29F0 for ; Mon, 12 Jun 2006 15:16:57 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: References: X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <31B17FE1-0EB1-4E6A-B1DE-08B9E4F33190@2sheds.de> Content-Transfer-Encoding: 7bit From: Andrew Miehs Subject: Re: Restricting access to localhost for an HTTP connector - Email has different SMTP TO: and MIME TO: fields in the email addresses Date: Mon, 12 Jun 2006 15:16:56 +0200 To: "Tomcat Users List" X-Mailer: Apple Mail (2.750) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N @Mark, as Peter wrote, have a look in /etc/hosts. It probably looks like 127.0.0.1 localhost 192.168.0.2 testmachine.domain.com testmachine You should change this to 127.0.0.1 localhost testmachine 192.168.0.2 testmachine.domain.com Just be careful if you are using Solaris - you may end up configuring your ethernet to 127.0.0.1 if you have not used a fully qualified domain name in / etc/hostname.interfacename Regards Andrew On 12/06/2006, at 3:08 PM, Peter Crowther wrote: >> From: Mark Claassen [mailto:mclaassen@ocie.net] >> Say Tomcat is on a machine called TestMachine. >> If I put "127.0.0.1" in the address field, it accepts >> connections of the >> form "http: //127.0.0.1/..." only >> It does not accept connections from "http: >> //TestMachine/...", even though >> the server is this same machine. >> I was hoping that it would accept all connections from the >> local machine, >> regardless of what the connection was called. >> >> Is there a way to do this? > > Yes. Add '127.0.0.1 TestMachine' into testmachine's /etc/hosts file. > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org