Thank you. That is just the copy/paste mistake. Even the file is right: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> It still does not work. I tried iptables -F. It still does not work. And I tried to install apache httpd on the server. It could work on port 80 and there is no problem for apache. By the way, when I changed the port to 8888. I could see that the tomcat is listening on 8888 but I cannot connect to it. Only 8080 works. Thank you for the helps. best, gavin
On Wed, Jun 30, 2010 at 3:31 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Yue Yuanyuan [mailto:yue.yuany...@gmail.com] > > Subject: One question about change port to 80 > > > > The server.xml file was modified to > > <Connector port="80" protocol="HTTP/1.1" > > nnector port="8080" protocol="HTTP/1.1" > > connectionTimeout="20000" > > redirectPort="8443" /> > > Well, that 'nnector port="8080"' you've got in there doesn't look > particularly attractive... > > > But I am using root directly to do the operation. > > Which you really, really shouldn't be doing. > > http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F > > > Then I tried to change the port into 8888 or others. > > They all do not work. > > Fix your editing of the <Connector> element, then check the firewall and > iptables settings. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >