tomcat, linux and newbie

J

JAVA Rookie

Hi all:
I have Mandrake 9.2, apache, and tomcat installed, then I stopped apache,
stopped tomcat, modified port number from 8080 to 80 at tomcat,
then restart tomcat only, when i typed http://localhost, I did not saw tomcat
welcome page.
I did same thing in windows XP and it works.
So, is there anything I need to modified in Linux?

Thanks in advance.
 
H

Herman Timmermans

JAVA said:
Hi all:
I have Mandrake 9.2, apache, and tomcat installed, then I stopped apache,
stopped tomcat, modified port number from 8080 to 80 at tomcat,
then restart tomcat only, when i typed http://localhost, I did not saw
tomcat welcome page.
I did same thing in windows XP and it works.
So, is there anything I need to modified in Linux?

Thanks in advance.
Hi, this should normally work. Please make sure that you didn't start
Apache as well. Check akso the log files for Tomcat, and look for any
errors. Try also to connect to http://localhost:8080, maybe your config
change wasn't correct? Could you connect to Apache before on port 80?
Please provide any additional info that could help us to solve your problem.
Brgds,
Herman
 
A

Ashton

JAVA Rookie said:
I have Mandrake 9.2, apache, and tomcat installed, then I stopped apache,
stopped tomcat, modified port number from 8080 to 80 at tomcat,
then restart tomcat only, when i typed http://localhost, I did not saw tomcat
welcome page.

Were you starting Tomcat as root? If not, it may have failed to
allocate the low-numbered port.

(What *did* you see? Does 'netstat -l' show anything listening on port
80?)
 
S

Sudsy

JAVA said:
Hi all:
I have Mandrake 9.2, apache, and tomcat installed, then I stopped apache,
stopped tomcat, modified port number from 8080 to 80 at tomcat,
then restart tomcat only, when i typed http://localhost, I did not saw tomcat
welcome page.
I did same thing in windows XP and it works.
So, is there anything I need to modified in Linux?

Thanks in advance.

It's definitely a matter of starting it as root. Unprivileged users
cannot bind to well known ports. The log error message should have
indicated "could not bind...".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top