fix for non-standard ports
Merge pull request #1 from edorsey/fix-for-non-standard-ports

Fix for non-standard ports