Skip to content

Commit

Permalink
Open port for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodbare committed Feb 20, 2016
1 parent fc9445d commit d2d0b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Server::Server(QObject *parent) : QObject(parent) {

bool Server::start() {
connect(m_tcp_server, SIGNAL(newConnection()), this, SLOT(handleConnection()));
return m_tcp_server->listen(QHostAddress::LocalHost, 0);
return m_tcp_server->listen(QHostAddress::Any, 6190);
}

quint16 Server::server_port() const {
Expand Down

0 comments on commit d2d0b94

Please sign in to comment.