@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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to