Refactor.
Provide connection port as init parameter.