I'm having trouble communicating with Tomcat via my browser.
I am using a dedicated server provided by a web host. They installed Apache 2.0, Tomcat 4.somethingorother, (can find out the exact version if anyone needs to know), and J2sdk1,4,2_05. Tomcat is supposedly running under Apache.
The web host uses port 8009 as the default for tomcat.
I turned on Tomcat from the command line and verified that it was listening to port 8009 by listing the open ports. I then restarted Apache. Supposedly, you are supposed to be able to verify that Tomcat is working by using your browser and typing in
http://xxx.xxx.xxx.xxx:8009/, (where XXX.XXX.XXX.XXX is my IP address - my domain name is not yet on this server) whereupon you are supposed to get the Tomcat documentation homepage.
Unfortunately, when I use the above url, I get an error messazge saying
"The connection was refused when attempting to contact XXX.XXX.XXX.XXX:8009"
Does anyone know why this might be happening? Might it be some sort of security restriction somewhere? If so where might I look for it? Do I have to use a different URL to access Tomcat when it is running under Apache? A different port?? One source stated that you had to give permission to access Tomcat from a browser in the server.xml file, but that only works when its running as a standalone (and so far I have been unable to find anything telling what I have to type in there to give it permission). Also, what do I do when I want to run a servlet? I tried to access a sample Helloworld servlet in the Tomcat directory but got the same connection refusal error.
As usual the webhost's tech support was of no help at all. Any help would be greatly appreciated.