Actually use port configuration. Fixes #27