> From: Caldarale, Charles R > Subject: RE: java.net.ConnectException when attempting to open URL via > Java code > > It means Tomcat is listening on IPv6, but not IPv4. I don't know why > this happens, but you can change your conf/server.xml to add an > address="0.0.0.0" attribute to the port 8080 <Connector> to force IPv4 > usage.
Or you could try setting: -Djava.net.preferIPv4Stack=true in CATALINA_OPTS before starting Tomcat. - 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