Hello,
Here are the instructions for Installing Red5 Server for Multiplayer Games
Step 1: Download Required Files
1. Download Red5 Server:
•
Red5 Server Download
2. Download JDK 11:
• Visit the Oracle site and download the JDK 11 for Windows x64 Installer.
•
JDK 11 Download
• Note: You will need to sign up or log in to the Oracle site to download the JDK.
Step 2: Set Up JAVA_HOME Environment Variable
1. Install JDK 11:
• Follow the installer instructions to install JDK 11.
2. Set JAVA_HOME Environment Variable:
• Open the Start Menu, search for “Environment Variables”, and select “Edit the system environment variables”.
• In the System Properties window, click on the “Environment Variables” button.
• Under “System Variables”, click “New”.
• For “Variable Name”, enter JAVA_HOME.
• For “Variable Value”, enter the path to your JDK installation. Typically, this is: C:\Program Files\Java\jdk-11
• Click “OK” to save the new variable.
Step 3: Run Red5 Server
1. Extract Red5 Server:
• Extract the contents of the downloaded red5.zip file to C:\red5.
2. Run Red5 Server:
• Navigate to C:\red5 and run red5.bat.
• Allow any firewall prompts to open the required ports.
• Keep the Red5 server window open.
Step 4: Configure and Test Red5 Server
1. Find Your Local IP Address:
• Open Command Prompt (cmd) and type ipconfig.
• Note your IPv4 address (e.g., 192.168.x.x).
2. Use IPv4 Address:
• In your game’s connection settings, use the IPv4 address you noted earlier.
3. Test Your Game:
• Ensure your game connects and works with the Red5 server on your local network.
Step 5: Expose Your Server to the World
1. Open and Redirect Ports:
• Access your router settings (usually via a web browser, entering the router’s IP address).
• Open and forward the following ports to your computer’s local IP address: 5080 and 8080.
2. Find Your Public IP Address:
• Visit
WhatIsMyIP to find your public IPv4 address.
3. Update Game Settings:
• Use your public IP address in your game’s connection settings.
You can now use the multiplayer feature in exported games for both Windows and Android.
Regards,
Cyberix3D Team