App Engine Java VM Runtime Websocket Chat Copyright (C) 2010-2015 Google Inc.
Requires Apache Maven 3.1 or greater, and JDK 7+ in order to run. This application needs to be deployed to the App Engine Managed VMs.
In order to run this application, you also need to configure the Compute Engine firewall to allow incoming connections to the port 65080 by default.
Here is how to configure the Compute Engine firewall.
- Go to the [cloud console][https://cloud.google.com/console].
- Select your Cloud project.
- Select
Compute Engine - Click the
Networkmenu then click thedefaultnetwork. - Click
Add Firewall rulebutton in theFirewalls rulessection. - Type
chatservicein theNamefield,0.0.0.0/0in the Source IP Ranges field andtcp:65080in theAllowed protocols or portsfield, then clickCreatebutton.
Now you're good to go!
To build:
Install the Cloud SDK for Managed VMs To run the application, do the following:
- Set the correct Cloud SDK project via
gcloud config set project YOUR_PROJECT. - Run
mvn gcloud:deploy - Visit
http://YOUR_PROJECT.appspot.com.
For further information, consult the Java App Engine documentation.
To see all the available goals for the Cloud SDK plugin, run
mvn help:describe -Dplugin=gcloud