Hi Tony, try something like this:
ps -ef | grep httpd this will show you where the process is running (from which directory) -- to shut down this process, become root, and you should have somewhere in your computer the apachectl program -- do a ./apachectl stop from the directory where this file (apachectl) is located. I think you should realy reconsider running Tomcat on 8080, and set up an apache plug-in for tomcat. There is plenty of documentation on the web for this. Regard, Alex. On 6/23/05, Tony Smith <[EMAIL PROTECTED]> wrote: > > Thank all for response. > > I loged on as root and changed server.xml to use port > 80. When I start tomcat, it now compained that "80 is > already in use". But I can not find out who is using > it. I ran "netstat -a", but I did not see anything > like "80". Should I look at something else? > > I also tried "telnet localhost 80", I got > [EMAIL PROTECTED] telnet localhost 80 > Trying 127.0.0.1... > Connected to localhost.localdomain (127.0.0.1 <http://127.0.0.1>). > Escape character is '^]'. > > And it hang on there. I type in > GET index.html HTTP/1.1 > After a couple minutes, I got a "400 bad request" from > "Apache/2.0.46". Looks like I have apache running. How > can I stop the apache server? > > I am using linux. > > We are still in the developing stage and all users are > internal. Thus, security is not a concern right now. > > > > --- Timo -Blazko- Boewing <[EMAIL PROTECTED]> > wrote: > > > On Tue, 2005-06-21 at 18:54 +0200, mario nee wrote: > > > in Unix system you must have root permission to > > open a port under 1024. > > > > > > > Hello, > > > > While this is right, I would not recommend to run > > Tomcat as root. Better > > run Tomcat with another port just like the default > > 8080 and use a > > firewall application such as iptables to internally > > forward incoming > > requests to port 8080; thus you avoid dangerous > > exploits in Tomcat's > > webapps. > > > > It can be done w/ something similar to this: > > > > iptables -t nat -A PREROUTING -i eth0 -p tcp --dport > > 80 -j REDIRECT > > --to-port 8080 > > > > > > -- > > greetings, | /"\ > > | \ / > > ASCII-Ribbon-Campaign > > Timo | X Against HTML > > Mail > > | / \ > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > > > ____________________________________________________ > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > http://football.fantasysports.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >