I thought so, but I wasn't sure how to do that in a nice way.

I suppose we could change the config file to contain a list of URLs, and then have capistrano write the port in there.  This would mean repeating it in the deploy scripts, but that's probably better than hardcoding it here.