| | 207 | |
|---|
| | 208 | ---- |
|---|
| | 209 | |
|---|
| | 210 | === Changing ports for RMS === |
|---|
| | 211 | |
|---|
| | 212 | When the default ports 1935, 1936 and 5080 are already in use by some application on your server, you can change them and start RMS on different ports. |
|---|
| | 213 | |
|---|
| | 214 | To do so, you need to do the following: |
|---|
| | 215 | |
|---|
| | 216 | * Edit the file '''conf/red5.properties''' and replace all instances of '''1935''', '''1936''' and '''5080''' with different port numbers (you need to make sure that these ports are open). For example: |
|---|
| | 217 | {{{ |
|---|
| | 218 | rtmp.port=1935 |
|---|
| | 219 | }}} |
|---|
| | 220 | should be replaced with something like |
|---|
| | 221 | {{{ |
|---|
| | 222 | rtmp.port=10000 |
|---|
| | 223 | }}} |
|---|
| | 224 | |
|---|
| | 225 | * Edit the files '''webapps/*/WEB-INF/red5-web.properties''' (where '''*''' stands for '''board''', '''chat''', '''global''', '''im''' and '''video''') and specify the port substituting '''1935''' after the IP address, for example: |
|---|
| | 226 | {{{ |
|---|
| | 227 | webapp.virtualHosts=192.168.1.1:10000 |
|---|
| | 228 | }}} |
|---|
| | 229 | in the '''video''' module you'll also need to specify an asterisk: |
|---|
| | 230 | {{{ |
|---|
| | 231 | webapp.virtualHosts=192.168.1.1:10000,* |
|---|
| | 232 | }}} |
|---|
| | 233 | |
|---|
| | 234 | * Now specify these ports in '''Admin Panel -> Plugins -> Ray Suite -> Settings''', where '''RMS Port''' should contain the number substituting the port '''1935''' and '''RMS HTTP Port''' should contain the number substituting the port '''5080'''. |