Pull the port number out of PriamConfiguration.getHttpConfiguration().getPort()?