apache/incubator-cordova-weinre — pull request #10 by matti (2012-09-17 13:58:40+00:00)
Title: Supports running server behind a proxy, such as Heroku Cedar

This checks if proxy headers are set and uses those instead of request object, that will return an internal IP.

(Signing Apache CCLA is in the works, just creating this pull request here so that ppl can find the fix)