Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

sorry my english. My mysql server and tomcat server are running localhost, And my gwt web application is running correctly on Localhost, Then my web application connected mysql database. Then I deployed my web application (.war file) to another tomcat server(linux), it cannot connect to mysql (windows server) server. why?

share|improve this question
add comment

1 Answer

In your tomcat configuration file, you specified "localhost" as your database server. Change that to the hostname of the MySQL server.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.