diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/General/Types/NetworkServersInfo.cs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/OpenSim/Framework/General/Types/NetworkServersInfo.cs b/OpenSim/Framework/General/Types/NetworkServersInfo.cs index b65488a..9e4bdb1 100644 --- a/OpenSim/Framework/General/Types/NetworkServersInfo.cs +++ b/OpenSim/Framework/General/Types/NetworkServersInfo.cs | |||
@@ -35,7 +35,7 @@ namespace OpenSim.Framework.Types | |||
35 | { | 35 | { |
36 | public class NetworkServersInfo | 36 | public class NetworkServersInfo |
37 | { | 37 | { |
38 | public string AssetURL = "http://127.0.0.1:8003/"; | 38 | public string AssetURL = "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString() + "/"; |
39 | public string AssetSendKey = ""; | 39 | public string AssetSendKey = ""; |
40 | 40 | ||
41 | public string GridURL = ""; | 41 | public string GridURL = ""; |
@@ -46,7 +46,9 @@ namespace OpenSim.Framework.Types | |||
46 | public string UserRecvKey = ""; | 46 | public string UserRecvKey = ""; |
47 | public bool isSandbox; | 47 | public bool isSandbox; |
48 | 48 | ||
49 | public int HttpListenerPort = 9000; | 49 | public static int DefaultHttpListenerPort = 9000; |
50 | public int HttpListenerPort = DefaultHttpListenerPort; | ||
51 | |||
50 | public int RemotingListenerPort = 8895; | 52 | public int RemotingListenerPort = 8895; |
51 | 53 | ||
52 | 54 | ||
@@ -77,15 +79,15 @@ namespace OpenSim.Framework.Types | |||
77 | m_defaultHomeLocX = (uint)config.Configs["StandAlone"].GetInt("default_location_x", 1000); | 79 | m_defaultHomeLocX = (uint)config.Configs["StandAlone"].GetInt("default_location_x", 1000); |
78 | m_defaultHomeLocY = (uint)config.Configs["StandAlone"].GetInt("default_location_y", 1000); | 80 | m_defaultHomeLocY = (uint)config.Configs["StandAlone"].GetInt("default_location_y", 1000); |
79 | 81 | ||
80 | HttpListenerPort = config.Configs["Network"].GetInt("http_listener_port", 9000); | 82 | HttpListenerPort = config.Configs["Network"].GetInt("http_listener_port", DefaultHttpListenerPort); |
81 | RemotingListenerPort = config.Configs["Network"].GetInt("remoting_listener_port", 8895); | 83 | RemotingListenerPort = config.Configs["Network"].GetInt("remoting_listener_port", RemotingListenerPort); |
82 | GridURL = config.Configs["Network"].GetString("grid_server_url", "http://127.0.0.1:8001"); | 84 | GridURL = config.Configs["Network"].GetString("grid_server_url", "http://127.0.0.1:" + GridConfig.DefaultHttpPort.ToString()); |
83 | GridSendKey = config.Configs["Network"].GetString("grid_send_key", "null"); | 85 | GridSendKey = config.Configs["Network"].GetString("grid_send_key", "null"); |
84 | GridRecvKey = config.Configs["Network"].GetString("grid_recv_key", "null"); | 86 | GridRecvKey = config.Configs["Network"].GetString("grid_recv_key", "null"); |
85 | UserURL = config.Configs["Network"].GetString("user_server_url", "http://127.0.0.1:8002"); | 87 | UserURL = config.Configs["Network"].GetString("user_server_url", "http://127.0.0.1:" + UserConfig.DefaultHttpPort.ToString()); |
86 | UserSendKey = config.Configs["Network"].GetString("user_send_key", "null"); | 88 | UserSendKey = config.Configs["Network"].GetString("user_send_key", "null"); |
87 | UserRecvKey = config.Configs["Network"].GetString("user_recv_key", "null"); | 89 | UserRecvKey = config.Configs["Network"].GetString("user_recv_key", "null"); |
88 | AssetURL = config.Configs["Network"].GetString("asset_server_url", "http://127.0.0.1:8003"); | 90 | AssetURL = config.Configs["Network"].GetString("asset_server_url", AssetURL); |
89 | 91 | ||
90 | } | 92 | } |
91 | } | 93 | } |