diff --git a/src/http/Server.cpp b/src/http/Server.cpp index e0fc04703..9104ba0b6 100644 --- a/src/http/Server.cpp +++ b/src/http/Server.cpp @@ -61,7 +61,10 @@ void Server::start() { if (m_started) return; - m_started = m_httpServer->listen(QHostAddress::LocalHost, 19455); + + static const int PORT = 19455; + m_started = m_httpServer->listen(QHostAddress::LocalHost, PORT) + || m_httpServer->listen(QHostAddress::LocalHostIPv6, PORT); } void Server::stop()