You hit the nail on the head. By default, the hosts file in Windows doesn't
exist, so localhost isn't resolvable. I had to take this into account when I
wrote the installer for my software.

-----Original Message-----
From: Turner, John [mailto:JTurner@;AAS.com]
Sent: 14 November, 2002 9:59 AM
To: 'Tomcat Users List'
Subject: RE: Install Tomcat 4.1.12 on WinXP



Can your computer resolve "localhost" to 127.0.0.1?

John


> -----Original Message-----
> From: T S [mailto:ts52722@;yahoo.com]
> Sent: Thursday, November 14, 2002 11:16 AM
> To: Tomcat User
> Subject: Install Tomcat 4.1.12 on WinXP
>
>
>
> I have installed Tomcat 4.1.12 on WinXP following the
> directions in JavaServer Pages by Hans Bergsten - pages 31-37.
>
> The startup appears to be correct but when I attempt to use
> IE I get errors.
>
>
>
> Here are the Command Prompt Window output messages from the
> "startup" command:
>
> C:\Program Files\Jakarta\jakarta-tomcat-4.1.12\bin>startup
> Using CATALINA_BASE:   C:\Program Files\Jakarta\jakarta-tomcat-4.1.12
> Using CATALINA_HOME:   C:\Program Files\Jakarta\jakarta-tomcat-4.1.12
> Using CATALINA_TMPDIR: C:\Program
> Files\Jakarta\jakarta-tomcat-4.1.12\temp
> Using JAVA_HOME:       C:\Program Files\j2sdk1.4.1
> C:\Program Files\Jakarta\jakarta-tomcat-4.1.12\bin>
>
>
>
> Here are the Tomcat Window output messages from the "startup" command:
>
> Nov 14, 2002 6:09:20 AM org.apache.commons.modeler.Registry
> loadRegistry
> INFO: Loading registry information
> Nov 14, 2002 6:09:20 AM org.apache.commons.modeler.Registry
> getRegistry
> INFO: Creating new Registry instance
> Nov 14, 2002 6:09:21 AM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Nov 14, 2002 6:09:21 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.12
> Nov 14, 2002 6:09:26 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> Nov 14, 2002 6:09:26 AM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on tcp port 8009
> Nov 14, 2002 6:09:26 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/78  config=C:\Program
> Files\Jakarta\jakarta-tomcat-
> 4.1.12\conf\jk2.properties
>
>
>
> When I go to Internet Explorer version:
> 6.00.2600.0000.xpclient.010817-1148 and enter the following:
>
> Address: http://localhost:8080/
>
> I get an IE page stating "This computer does not have an
> Internet connection"
>
>
>
> My computer is not connected to the internet when I perform
> this test, so the message is correct, but it appears that it
> is not looking at port 8080.
>
> What do I need to change to get this to work?
>
> Thanks for your answers.
>
> Tim
>
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
>

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to