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
This commit is contained in:
electron128 2015-05-11 18:23:16 +00:00
parent b4355cdcd1
commit 8e65054181

View File

@ -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;
}
}