diff -r 23c516259cc5 -r 4b05b16b97e6 src/relpipe-tr-httpd.cpp --- a/src/relpipe-tr-httpd.cpp Thu Apr 07 21:06:37 2022 +0200 +++ b/src/relpipe-tr-httpd.cpp Thu Apr 07 23:04:12 2022 +0200 @@ -51,7 +51,9 @@ Configuration configuration = cliParser.parse(cli.arguments()); std::shared_ptr writer(relpipe::writer::Factory::create(std::cout)); std::shared_ptr reader(relpipe::reader::Factory::create(std::cin)); - std::shared_ptr httpServer(HTTPServer::create()); + HTTPServer::Options serverOptions; + serverOptions.tcpPort = configuration.tcpPort; + std::shared_ptr httpServer(HTTPServer::create(serverOptions)); HttpdHandler handler(writer, configuration, httpServer); reader->addHandler(&handler); reader->process();