> I have installed tomcat and everything went fine.
> Tomcat starts up correctly.
> But when I type 'http://localhost:8080/' in the
> browser, it says page cant be displayed.
> Why is it so?
>
> -Achyuth
Hard to say. A configuration error that stops tomcat from starting.
There is a monitor program in bin directory of Tomcat, I dont exactly remember the file name, it something like t5?w.exe (if your OS is Windows).
Also check in MyComputer->Manage->Services ifthat service is started.
If you run Solaris 10, check status of that deamon using inetadm command.
I am working on windows-xp.
The connector entry in server.xml is
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
This is the output i get while i run start.bat in tomcat/bin
INFO: Jk running ID=0 time=0/126 config=null
Jun 5, 2007 2:53:18 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3406 ms
In services I cant find any tomcat running. :((
What do I do?
> Hey!! something stange...
> When i give my ip-address (http://10.117.11.28:8080/)
> it works.
> But when I give localhost it doesnt..
>
> Any idea why?..
> Any way thanks a lot for you support and help.
>
> Regards,
> Achyuth.
What happens if you ping localhost, or if you try 127.0.0.1
Kaj
> Hey!! something stange...
> When i give my ip-address (http://10.117.11.28:8080/)
> it works.
> But when I give localhost it doesnt..
>
> Any idea why?..
> Any way thanks a lot for you support and help.
>
> Regards,
> Achyuth.
Sounds like your hosts file is screwed in some way. Or some sod has a machine with a DNS name of "localhost" on your network
georgemc,
dont scare me. Also i dont think there is anyother machine with the DNS name 'localhost'.
kajbj,
When i 'ping 127.0.0.1' it get exists by itself after senting four packets.
Same this happens when i 'ping localhost' also.
Is there anything wrong? :((
-Achyuth
C:\Tomcat\apache-tomcat-6.0.13\bin>ping 127.0.0.1
Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
> georgemc,
> dont scare me. Also i dont think there is anyother
> machine with the DNS name 'localhost'.
>
I very much doubt there is, too
> kajbj,
>
> When i 'ping 127.0.0.1' it get exists by itself after
> senting four packets.
> Same this happens when i 'ping localhost' also.
>
> Is there anything wrong? :((
Nope. Windows ping command only sends 4 packets by default. What does "ping localhost" give you?