From 8e650541815ed34170d2d276281f44f838716424 Mon Sep 17 00:00:00 2001 From: electron128 Date: Mon, 11 May 2015 18:23:16 +0000 Subject: [PATCH] added hint to check if port is already in use if webinterface failed to start git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8228 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libresapi/src/api/ApiServerMHD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libresapi/src/api/ApiServerMHD.cpp b/libresapi/src/api/ApiServerMHD.cpp index d62bc4db7..d397d0505 100644 --- a/libresapi/src/api/ApiServerMHD.cpp +++ b/libresapi/src/api/ApiServerMHD.cpp @@ -408,7 +408,7 @@ bool ApiServerMHD::start() } else { - std::cerr << "ApiServerMHD::start() ERROR: starting the server failed." << std::endl; + std::cerr << "ApiServerMHD::start() ERROR: starting the server failed. Maybe port " << ntohs(mListenAddr.sin_port) << " is already in use?" << std::endl; return false; } }