How bind Tomcat to an IP address?

2005-08-04 Thread Andrea Senatore
Hi all,
I have installed jakarta-tomcat-4.1.18-LE-jdk14 on my windows 2000.
I tried it locally typing in my browser http://localhost:8080 and all
works fine.
As I need to use Tomcat on machine different from mine I tried to
change the address which Tomcat is listening to.
I read on HOW-TO that you can change the listening address through the
field address of Connector in conf/server.xml.
I tried this advice but nothing happens.

Any suggestions?

Thanks in advance,
Andrea

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How bind Tomcat to an IP address?

2005-08-04 Thread Andrea Senatore
Hi all,
I have installed jakarta-tomcat-4.1.18-LE-jdk14 on my windows 2000.
I tried it locally typing in my browser http://localhost:8080 and all
works fine.
As I need to use Tomcat on machine different from mine I tried to
change the address which Tomcat is listening to.
I read on HOW-TO that you can change the listening address through the
field address of Connector in conf/server.xml.
I tried this advice but nothing happens.

Any suggestions?

Thanks in advance,
Andrea

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How bind Tomcat to an IP address?

2005-08-04 Thread Andrea Senatore
Hi Justin,
thanks for fast reply!

I'm sorry but I'm rookie on Tomcat.
What I've written is what happens, i.e. when I try to connect
to Tomcat server typing localhost address (http://localhost:port)
all works. If I type in the browser my IP address (http://myIP:port)
the server doesn't accept any connections.

Either is my mistake or there is a configuration setting
that forces Tomcat to accept connection only from localhost
(e.g. a security option).

However If you want I could post my Tomcat Configuration Files.

Thanks,
Andrea


2005/8/4, Justin Jaynes [EMAIL PROTECTED]:
 Andrea,
 
 Let's say you install tomcat on machine A, (your
 server), and your network administrator has given that
 machine the address of 192.168.0.7.
 
 You and want to reach the server from a machine B,
 your workstation.  All you need to do (assuming they
 are on the same network and properly configured, which
 are NOT tomcat issues) is sit down at the workstation,
 machine B, and open your browser.  Enter the address
 of the server (here, 192.168.0.7:8080).  Thats it.
 
 No address=xxx.xxx.xxx field is needed.  Ommit them
 from your server.xml file unless you plan to have your
 server host virtual domains based on IP address.
 Usually a machine only has one IP address, but even
 so, if you do not set up the address parameter in your
 server.xml file, tomcat should listen to all the
 network devices on the server and respond to your
 requests to each of the IP's.
 
 If this does not answer your question, either I
 misunderstood it altogether and you need to be more
 specific about what you are trying to do, or you might
 try a brief chapter on basic networking in any good
 internet,how it works type reference book.  Or a
 good linux reference book, same chapter.
 
 Justin
 
 --- Andrea Senatore [EMAIL PROTECTED] wrote:
 
  Hi all,
  I have installed jakarta-tomcat-4.1.18-LE-jdk14 on
  my windows 2000.
  I tried it locally typing in my browser
  http://localhost:8080 and all
  works fine.
  As I need to use Tomcat on machine different from
  mine I tried to
  change the address which Tomcat is listening to.
  I read on HOW-TO that you can change the listening
  address through the
  field address of Connector in conf/server.xml.
  I tried this advice but nothing happens.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]