Hello guys,
I have two instances of my project running on Google's cloud, Tomcat Instance & Lamp Instance. My servlets are running on tomcat instance and have to connect to the database of lamp instance. I gave the following details of connection String DriverName="com.mysql.jdbc.Driver";String userName="root";String password="root";String driverManager="jdbc:mysql://localhost:3306/databasename"; The localhost request is going to mysql of tomcat instance(Here tomcat instance contains mysql also).It is not going to the lamp instance So I want a way to send request to another instance. if I placed lamp instance url means i am receiving the following exception in the logcat. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure So can anyone tell how to solve this problem thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/67ee8725-f823-4a31-b1f0-c3ddd485eb47%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
