fix up port references in sample app