Added optional http port for testing.