Adds port to configuration.

Attempts to close #251.