Google Wave Bot Fix – “Could not open the requested socket: Address already in use”

Wednesday, December 2nd, 2009 | Uncategorized

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

Popularity: 100% [?]

Tags: , , ,

No comments yet.

Leave a comment