Admin Server can now bind to a private ip address

Signed-off-by: Melanie <melanie@t-data.com>
This commit is contained in:
mores
2010-11-02 21:46:45 -04:00
committed by Melanie
parent 57eabe9d46
commit 1f77f05f02
3 changed files with 15 additions and 1 deletions

View File

@@ -116,7 +116,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController
int port = m_config.GetInt("port", 0);
m_application = openSim;
m_httpServer = MainServer.GetHttpServer((uint)port);
string bind_ip_address = m_config.GetString("bind_ip_address", "127.0.0.1");
IPAddress ipaddr = IPAddress.Parse( bind_ip_address );
m_httpServer = MainServer.GetHttpServer((uint)port,ipaddr);
Dictionary<string, XmlRpcMethod> availableMethods = new Dictionary<string, XmlRpcMethod>();
availableMethods["admin_create_region"] = XmlRpcCreateRegionMethod;