mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Terminate OpenSim startup if we cannot listen to the designated HTTP port
* This makes the problem much more obvious to the user, and OpenSim isn't that useful without inbound http anyway
This commit is contained in:
@@ -1424,8 +1424,12 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.Warn("[HTTPD]: Error - " + e.Message);
|
||||
m_log.Warn("Tip: Do you have permission to listen on port " + m_port + "," + m_sslport + "?");
|
||||
m_log.Error("[HTTPD]: Error - " + e.Message);
|
||||
m_log.Error("[HTTPD]: Tip: Do you have permission to listen on port " + m_port + ", " + m_sslport + "?");
|
||||
|
||||
// We want this exception to halt the entire server since in current configurations we aren't too
|
||||
// useful without inbound HTTP.
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user