diff --git a/src/api_server.cc b/src/api_server.cc index 90924015..71642f57 100644 --- a/src/api_server.cc +++ b/src/api_server.cc @@ -88,7 +88,8 @@ MetadataApiServer::MetadataApiServer(const Configuration& config, server_( HttpServer::options(dispatcher_) .address(host) - .port(std::to_string(port))), + .port(std::to_string(port)) + .reuse_address(true)), server_pool_() { for (int i : boost::irange(0, server_threads)) {