diff options
* Applied Chillken patch #419: consolidate_ports-r2096-3.patch - consolidated port number defaults. Thankx Chillken!
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index e065151..47b9ddd 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -53,14 +53,12 @@ namespace SimpleApp | |||
53 | 53 | ||
54 | protected override void Initialize() | 54 | protected override void Initialize() |
55 | { | 55 | { |
56 | m_httpServerPort = 9000; | ||
57 | |||
58 | StartLog(); | 56 | StartLog(); |
59 | 57 | ||
60 | m_networkServersInfo = new NetworkServersInfo( 1000, 1000 ); | 58 | m_networkServersInfo = new NetworkServersInfo( 1000, 1000 ); |
61 | 59 | ||
62 | LocalAssetServer assetServer = new LocalAssetServer(); | 60 | LocalAssetServer assetServer = new LocalAssetServer(); |
63 | assetServer.SetServerInfo("http://localhost:8003/", ""); | 61 | assetServer.SetServerInfo(m_networkServersInfo.AssetURL, ""); |
64 | 62 | ||
65 | m_assetCache = new AssetCache(assetServer); | 63 | m_assetCache = new AssetCache(assetServer); |
66 | } | 64 | } |
@@ -83,8 +81,8 @@ namespace SimpleApp | |||
83 | 81 | ||
84 | m_log.Notice(m_log.LineInfo); | 82 | m_log.Notice(m_log.LineInfo); |
85 | 83 | ||
86 | IPEndPoint internalEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9000); | 84 | IPEndPoint internalEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), m_networkServersInfo.HttpListenerPort); |
87 | 85 | ||
88 | RegionInfo regionInfo = new RegionInfo(1000, 1000, internalEndPoint, "localhost"); | 86 | RegionInfo regionInfo = new RegionInfo(1000, 1000, internalEndPoint, "localhost"); |
89 | regionInfo.DataStore = "simpleapp_datastore.yap"; | 87 | regionInfo.DataStore = "simpleapp_datastore.yap"; |
90 | 88 | ||