Use environment listening port number.
Merge pull request #47 from jerone/issue-46

Use environment listening port number. Fixes #46