can specify port as configuration option