diff --git a/src/comm/TCPLink.cc b/src/comm/TCPLink.cc
index ecb27e2..f93cde8 100644
--- a/src/comm/TCPLink.cc
+++ b/src/comm/TCPLink.cc
@@ -302,7 +302,7 @@ void TCPConfiguration::setHost(const QString host)
     if(ipAdd.isEmpty()) {
         qWarning() << "TCP:" << "Could not resolve host:" << host;
     } else {
-        _address = ipAdd;
+        _address = QHostAddress(ipAdd);
     }
 }