making 'port' configurable