Re: Apache Tomcat 5 does not work on port 80
Check you don't already have IIS running on port 80. If you look in Tomcat's logs, there should be a bind exception if that's the case. Is there any reason you're using 5.0? It's very old, and is no longer supported. This means that, for example, it has known security holes and they will never be fixed. - Peter On 8 April 2010 16:33, Sulaiman Paperwalla s...@fiu.edu wrote: Hi, I have tomcat 5.0 installed on a windows server 2008 machine. Tomcat is the only web server installed. When I change the port to anything other than port 80, for example 8080, I can successfully access the website, but it does not work for Port 80. I have made sure the port is open in the firewall and I can remotely telnet to port 80 with not problems. Any suggestions on what I should be testing to resolve this problem? I am a newbie to Tomcat. Thanks!! Here is the server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 !-- Define the Tomcat Stand-Alone Service -- Service name=Catalina !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector port=80 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 URIEncoding=utf-8 disableUploadTimeout=true / !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=true debug=0 protocol=AJP/1.3 URIEncoding=utf-8 / !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Host name=localhost debug=0 appBase=D:\Program Files (x86)\NetXposure\ImagePortal unpackWARs=false autoDeploy=true Valve className=org.apache.catalina.valves.AccessLogValve directory=D:\Program Files (x86)\NetXposure\ImagePortal\WEB-INF\logs prefix=access. suffix=.txt pattern=combined resolveHosts=true / Logger className=org.apache.catalina.logger.FileLogger directory=D:\Program Files (x86)\NetXposure\ImagePortal\WEB-INF\logs prefix=debug. suffix=.txt timestamp=true/ Context path= docBase=D:\Program Files (x86)\NetXposure\ImagePortal debug=0 antiJARLocking=true crossContext= true/ /Host /Engine /Service /Server
Re: Apache Tomcat 5 does not work on port 80
You can telnet port 80 without any problems? Well, that means there's some application running using port 80, otherwise you wouldn't be able to telnet on port 80. What gives netstat -a? Rgds Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Apache Tomcat 5 does not work on port 80
Thanks! IIS is not running on this machine. I checked the logs and they are virtually blank. The logs I checked were jacarta_service_, stderr, and stdout log files. I am using tomcat 5 because the application I am using is not supporting a higher version yet. I am working with the vendor on this but it will take some time but for the time being I'm stuck with 5.0. Let me know if you have any other suggestions I can try. Thanks for your response! -sul. -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Thursday, April 08, 2010 11:38 AM To: Tomcat Users List Subject: Re: Apache Tomcat 5 does not work on port 80 Check you don't already have IIS running on port 80. If you look in Tomcat's logs, there should be a bind exception if that's the case. Is there any reason you're using 5.0? It's very old, and is no longer supported. This means that, for example, it has known security holes and they will never be fixed. - Peter On 8 April 2010 16:33, Sulaiman Paperwalla s...@fiu.edu wrote: Hi, I have tomcat 5.0 installed on a windows server 2008 machine. Tomcat is the only web server installed. When I change the port to anything other than port 80, for example 8080, I can successfully access the website, but it does not work for Port 80. I have made sure the port is open in the firewall and I can remotely telnet to port 80 with not problems. Any suggestions on what I should be testing to resolve this problem? I am a newbie to Tomcat. Thanks!! Here is the server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 !-- Define the Tomcat Stand-Alone Service -- Service name=Catalina !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector port=80 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 URIEncoding=utf-8 disableUploadTimeout=true / !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=true debug=0 protocol=AJP/1.3 URIEncoding=utf-8 / !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Host name=localhost debug=0 appBase=D:\Program Files (x86)\NetXposure\ImagePortal unpackWARs=false autoDeploy=true Valve className=org.apache.catalina.valves.AccessLogValve directory=D:\Program Files (x86)\NetXposure\ImagePortal\WEB-INF\logs prefix=access. suffix=.txt pattern=combined resolveHosts=true / Logger className=org.apache.catalina.logger.FileLogger directory=D:\Program Files (x86)\NetXposure\ImagePortal\WEB-INF\logs prefix=debug. suffix=.txt timestamp=true/ Context path= docBase=D:\Program Files (x86)\NetXposure\ImagePortal debug=0 antiJARLocking=true crossContext= true/ /Host /Engine /Service /Server - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Apache Tomcat 5 does not work on port 80
Thanks! I did netstat -a but it does not tell me the application that is listening on port 80; I always assumed it was tomcat but I don't know for sure. Sorry I'm a newbie. Here is partial result of netstat -a: Active Connections Proto Local Address Foreign AddressState TCP0.0.0.0:80 ocean:0LISTENING TCP0.0.0.0:135ocean:0LISTENING TCP0.0.0.0:445ocean:0LISTENING TCP0.0.0.0:1311 ocean:0LISTENING TCP0.0.0.0:1433 ocean:0LISTENING TCP0.0.0.0:2382 ocean:0LISTENING TCP0.0.0.0:3389 ocean:0LISTENING TCP0.0.0.0:8081 ocean:0LISTENING TCP0.0.0.0:49152 ocean:0LISTENING TCP0.0.0.0:49153 ocean:0LISTENING TCP0.0.0.0:49154 ocean:0LISTENING TCP0.0.0.0:49159 ocean:0LISTENING TCP0.0.0.0:49196 ocean:0LISTENING TCP0.0.0.0:49211 ocean:0LISTENING TCP0.0.0.0:49542 ocean:0LISTENING TCP127.0.0.1:8005 ocean:0LISTENING TCP127.0.0.1:49547ocean:0LISTENING TCP131.94.70.192:139 ocean:0LISTENING -Original Message- From: Gregor Schneider [mailto:rc4...@googlemail.com] Sent: Thursday, April 08, 2010 11:42 AM To: Tomcat Users List Subject: Re: Apache Tomcat 5 does not work on port 80 You can telnet port 80 without any problems? Well, that means there's some application running using port 80, otherwise you wouldn't be able to telnet on port 80. What gives netstat -a? Rgds Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Apache Tomcat 5 does not work on port 80
From: Sulaiman Paperwalla [mailto:s...@fiu.edu] Subject: RE: Apache Tomcat 5 does not work on port 80 I did netstat -a but it does not tell me the application that is listening on port 80; Use netstat -ano, note the pid, and look it up in Task Manager. - 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.
Re: Apache Tomcat 5 does not work on port 80
On 8 April 2010 16:52, Caldarale, Charles R chuck.caldar...@unisys.comwrote: Use netstat -ano, note the pid, and look it up in Task Manager. tcpview (http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx) should give you the process directly, but Chuck's suggestion is less invasive :-). - Peter
RE: Apache Tomcat 5 does not work on port 80
Hi, Thanks for the suggestion. It resulted in PID 4 which is being used by NT Kernel and System. I started randomly stopping services and it was being used by SQL Server Reporting Services. I'm now looking into how I can change this service's port to something other than port 80. Thanks for your help (and Peter) for pointing me in the right direction. All the best, -sul. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, April 08, 2010 11:53 AM To: Tomcat Users List Subject: RE: Apache Tomcat 5 does not work on port 80 From: Sulaiman Paperwalla [mailto:s...@fiu.edu] Subject: RE: Apache Tomcat 5 does not work on port 80 I did netstat -a but it does not tell me the application that is listening on port 80; Use netstat -ano, note the pid, and look it up in Task Manager. - 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