I cannot connect with server.

I create a server how this: http://www.youtube.com/watch?v=BSdKkZNEKlQ

I run the program. I see:

28.png
Server started!

I run "cmd.exe" and write:

telnet
then:

open 0.0.0.0 1234
I see:

29.png

MyFirstServer.pro
Qt Code:
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2013-08-14T15:00:25
  4. #
  5. #-------------------------------------------------
  6.  
  7. QT += core
  8. QT += network
  9. QT -= gui
  10.  
  11. TARGET = MyFirstServer
  12. CONFIG += console
  13. CONFIG -= app_bundle
  14.  
  15. TEMPLATE = app
  16.  
  17.  
  18. SOURCES += main.cpp \
  19. myserver.cpp
  20.  
  21. HEADERS += \
  22. myserver.h
To copy to clipboard, switch view to plain text mode 

main.cpp
Qt Code:
  1. #include <QCoreApplication>
  2. #include "myserver.h"
  3.  
  4. int main(int argc, char *argv[])
  5. {
  6. QCoreApplication a(argc, argv);
  7.  
  8. MyServer mServer;
  9.  
  10. return a.exec();
  11. }
To copy to clipboard, switch view to plain text mode 

myserver.h
Qt Code:
  1. #ifndef MYSERVER_H
  2. #define MYSERVER_H
  3.  
  4. #include <QObject>
  5. #include <QDebug>
  6. #include <QTcpServer>
  7. #include <QTcpSocket>
  8.  
  9. class MyServer : public QObject
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit MyServer(QObject *parent = 0);
  14.  
  15. signals:
  16.  
  17. public slots:
  18. void newConnection();
  19.  
  20. private:
  21. QTcpServer *server;
  22. };
  23.  
  24. #endif // MYSERVER_H
To copy to clipboard, switch view to plain text mode 

myserver.cpp
Qt Code:
  1. #include "myserver.h"
  2.  
  3. MyServer::MyServer(QObject *parent) :
  4. QObject(parent)
  5. {
  6. server = new QTcpServer(this);
  7.  
  8. connect(server, SIGNAL(newConnection()), this, SLOT(newConnection()));
  9.  
  10. if (!server->listen(QHostAddress::Any, 1234)) {
  11. qDebug() << "Server could not start!";
  12. }
  13. else {
  14. qDebug() << "Server started!";
  15. qDebug() << "Address: " << server->serverAddress();
  16. qDebug() << "Port: " << server->serverPort();
  17. }
  18. }
  19.  
  20. void MyServer::newConnection() {
  21. QTcpSocket *socket = server->nextPendingConnection();
  22.  
  23. socket->write("hello client\r\n");
  24. socket->flush();
  25.  
  26. socket->waitForBytesWritten(3000);
  27.  
  28. socket->close();
  29. }
To copy to clipboard, switch view to plain text mode 

Thank you!