On Sun, 2014-09-14 at 08:02 +0100, AndyE wrote: > I have an app installed (one that i have installed several times) on > centos 6.5 it runs a version of tomcat (7.0.54) that is currently > configured on port 8888 .. i cannot access this page from any other > machine on the same subnet .. the browser (chrome) gives the > following : > > This webpage is not available Google Chrome could not load the webpage > because 192.168.1.11 took too long to respond. The website may be > down, or you may be experiencing issues with your Internet connection. > Error code: ERR_CONNECTION_TIMED_OUT > > I have tried the following : > > Changed tomcat ports in server.xml restarted = same > > there is no localhost only config in server.xml > > disabled firewalls on everything (selinux disabled and turned off FW > in windows) > > netstat doesn't show it listening on ports 8888 or 8080 which ive also > tried.
This is likely the proximate cause. > disabled ipv6 > > I can ping/resolve ip and hostname of tomcat server from other > machines > > Bit lost as to why this isn't working - netstat is giving me a clue > but why isnt it listening ? For more clues look for errors/warnings in the tomcat log under {TOMCAT}/logs (assuming you're working with a standard Tomcat distro and not a Centos package). May want to stop/start Tomcat first. --tim > server.xml : > > > > > <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --> > <!-- Meadowlands - i18n changes - 15-Nov-2012 - Start (KRB) --> > <Connector port="8888" URIEncoding="UTF-8" maxHttpHeaderSize="8192" > maxThreads="150" minSpareThreads="25" enableLookups="true" > redirectPort="8443" acceptCount="100" connectionTimeout="20000" > disableUploadTimeout="true" /> > <!-- Meadowlands - i18n changes - 15-Nov-2012 - End (KRB) --> > <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --> > <!-- > <Connector > port="8443" minProcessors="5" maxProcessors="75" > enableLookups="true" disableUploadTimeout="true" > acceptCount="100" debug="0" scheme="https" secure="true" > SSLEnabled="true" > clientAuth="false" sslProtocol="TLS" > > ciphers="SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA" > keystoreFile="<SPECROOT>/custom/keystore/cacerts" > keystorePass="changeit"> > </Connector> > --> > > <!-- Define the top level container in our container hierarchy --> > <Engine name="Catalina" defaultHost="localhost"> > <!-- Define the host to run the web applications --> > <Host name="localhost" appBase="webapps" unpackWARs="true" > autoDeploy="false"> > > <!-- Access log processes all requests for this virtual host. By > default, log files are created in the "logs" directory > relative to > $CATALINA_HOME. If you wish, you can specify a different > directory with the "directory" attribute. Specify either a > relative > (to $CATALINA_HOME) or absolute path to the desired > directory. > This access log implementation is optimized for maximum > performance, > but is hardcoded to support only the "common" and "combined" > patterns. > --> > <Valve className="org.apache.catalina.valves.AccessLogValve" > directory="logs" prefix="localhost_access_log." suffix=".txt" > pattern="%l %u %t %r %s %b %D" resolveHosts="false" /> > </Host> > > </Engine> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org