Google Wave Bot Fix - "Could not open the requested socket_ Address already in use"

PROBLEM: You build your first wave bot using Google App Engine + Google Bot instructions, and run into this build error "Could not open the requested socket_ Address already in use".

SOLUTION:

  1. Select the Project, then "Run Configuration".
  2. Select Web Applications, then your Run Configuration (mine is called "DomGoBot").
  3. Check "Automatically select an unused port"
  4. Re-build!

ANALYSIS: Google Web Application sets up a Java server via a servlet. It defaults to port 8080. However, sometimes you've got other apps running on that port (MAMP, etc.) So just set it to find an empty port and you'll be right as rain!

FTD

[gallery link="file"]

This article is my 39th oldest. It is 103 words long, and it’s got 0 comments for now.