diff options
Diffstat (limited to 'examples/qwebchannel/standalone/main.cpp')
-rw-r--r-- | examples/qwebchannel/standalone/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qwebchannel/standalone/main.cpp b/examples/qwebchannel/standalone/main.cpp index fa3912d..2cbc6b8 100644 --- a/examples/qwebchannel/standalone/main.cpp +++ b/examples/qwebchannel/standalone/main.cpp @@ -121,7 +121,7 @@ int main(int argc, char** argv) // setup the QWebSocketServer QWebSocketServer server(QStringLiteral("QWebChannel Standalone Example Server"), QWebSocketServer::NonSecureMode); - if (!server.listen(QHostAddress::LocalHost)) { + if (!server.listen(QHostAddress::LocalHost, 12345)) { qFatal("Failed to open web socket server."); return 1; } |