TCP/IP 101. "localhost" is a distinct virtual host name that ONLY WORKS ON THE LOCAL COMPUTER.
"some.ip.address" is a distinct virtual host name, just like "localhost" or "my.host.com". If you don't have that IP address set up as a hostname in Apache's httpd.conf and Tomcat's server.xml, you will not get a successful request. John Xingqun Jiang wrote: > Yes, I could see the page at http://localhost but It just doesn't work on > another computer when I replace the "localhost" with its ip address. > > I am using > WindowsXP pro > j2sdk1.4.1_01 > tomcat 4.1.27 > apache 2.0.47 > > I am going through the configuration instructions. > > Thanks a lot, Mike! > > Xingqun > > > ----- Original Message ----- > From: "Mike Millson" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Sunday, August 10, 2003 1:51 PM > Subject: Re: Problem in Integrating Tomcat with Apache > > > >>On Sun, 2003-08-10 at 13:31, Xingqun Jiang wrote: >> >>>Hi, Mike >>> >>>Thanks a lot!!! I also searched some documents online. One of them said, >>>when we install the Apache, we need to set the "domain name" and "server >>>name" as "localhost". I simply left them in default values. So I am >>>reinstalling the apache. Do you think that will make difference? >> >>If you see the Apache default install page when you type >>http://localhost in your browser then apache is working and there's no >>need to reinstall it, just set up the configuration to achieve what you >>want. >> >>What operating system are you using? >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]