Use constant for port number
Merge pull request #2956 from ddysher/fix-magic-number

Use constant for port number