Update Server.cpp

This commit is contained in:
alexey-milovidov 2017-05-03 21:02:28 -07:00
parent 85e59ae3ff
commit 99c360b6c7

View File

@ -553,10 +553,10 @@ int Server::main(const std::vector<std::string> & args)
{
if (try_listen && e.code() == POCO_EPROTONOSUPPORT)
LOG_ERROR(log, "Listen [" << listen_host << "]: " << e.what() << ": " << e.message()
<< " If it is an IPv6 or IPv4 address and your host has disabled IPv6 or IPv4, then consider to "
<< "specify not disabled IPv4 or IPv6 address to listen in <listen_host> element of configuration "
<< "file. Example for disabled IPv6: <listen_host>0.0.0.0</listen_host> ."
<< " Example for disabled IPv4: <listen_host>::</listen_host>");
<< " If it is an IPv6 or IPv4 address and your host has disabled IPv6 or IPv4, then consider to "
"specify not disabled IPv4 or IPv6 address to listen in <listen_host> element of configuration "
"file. Example for disabled IPv6: <listen_host>0.0.0.0</listen_host> ."
" Example for disabled IPv4: <listen_host>::</listen_host>");
else
throw;
}