RE: tomcat stand alone and multiple ips.

2001-10-31 Thread Ilya Goldin
I've encountered the same problem. Is the only solution to hardcode getRemoteHost()/getRemoteAddr() tests in my servlet? thanks, Ilya -- Ilya Goldin www.pitt.edu/~goldin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 5:19 PM

RE: tomcat stand alone and multiple ips.

2001-10-31 Thread Ilya Goldin
How can I attach an instance of tomcat to a specific ip? Right now it monitors port 80 on all ips on the box. Can I have one instance of tomcat host multiple 'virtual' sites or do I need to run seperate instances of tomcat listening to different ips?

RE: tomcat stand alone and multiple ips.

2001-10-31 Thread Ilya Goldin
That's actually possible as well (with Tomcat 4) -- it just takes a little more work. Let's assume that you want the following: * Host a.mycompany.com answers only on IP address 10.0.0.1 port 8080 * Host b.mycompany.com answers only on IP address 10.0.0.2 port 8080 snip Craig, thank