The connection was refused when attempting to contact localhost:8080
preethi Ayyappan
Ranch Hand
Joined: Oct 04, 2007
Posts: 518
posted
0
Hi, when i tried to see the Tomcat Administration page by giving http://localhost:8080 in the browser ,after tomcat installation in my redhat linux machine, i am getting the following error in an alert message.
The connection was refused when attempting to contact localhost:8080
what does it mean.why this error occured?please help me.I have downloaded and installed jdk1.6.0_04 in usr/java and jakarta-tomcat-5.0.28 in usr/local.
Thanks.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35254
7
posted
0
Is Tomcat actually running, and configured to listen on port 8080?
I am using redhat linux 4 and apache 2 and jdk 1.6.0_04.shall i uninstall the tomcat and reinstall another version.If so could anyone tell me where should i download tomcat and what are the installation instructions i have to follow?coz i am confused by looking at different installation instructions.please give me any useful link to download and install tomcat properly in my linux machine.
In an effort to help everyone get the most from our forums, we've compiled a list of tips for asking questions here. You can find the list in our FAQ section here. In particular please see: UseRealWords
Abbreviations such as "u" or "ur" in place of "you" and "you are" or "you're" confound language translation software making it hard for our non-English speaking members to read your posts. 'coz' is not a word in the English language.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35254
7
posted
0
There's no point in installing Tomcat again - you said you started the version that's installed. If you got neither error messages on the command line, nor any errors in the log files (those are generally in the TOMCAT_HOME/logs directory) then Tomcat should be running.
In any case if you ran startup.sh and didn't see errors on the screen, it should be running. Did you read any of the logs under tomcat/logs to see if exceptions are being thrown?
The nestsat program will show you which port have something bound to them. This is on my machine with Tomcat running on 8080:
preethi Ayyappan
Ranch Hand
Joined: Oct 04, 2007
Posts: 518
posted
0
Thanks.Now i have installed apache-tomcat-5.5.26.tar.gz.Now it is working fine.sorry for using non english words [ March 01, 2008: Message edited by: preethi Ayyappan ]
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: The connection was refused when attempting to contact localhost:8080