Remember me
You are here: HomeForumCyberix3D ForumGeneral DiscussionCopying an object during the game.
Welcome, Guest
Username: Password: Remember me

TOPIC: Private server

Private server 5 months 1 week ago #3262

  • F-Sh
  • F-Sh's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 6
How can I make a Private server for cyberix3d ​​multiplayer version?
Last Edit: 5 months 1 week ago by F-Sh.
The administrator has disabled public write access.

Private server 5 months 1 week ago #3263

In the Connect code block you can put any IP Address in there to connect to, which makes the server private as long as no one else has your IP basically. Maybe you could set up a server password as well with some basic code.

Alternatively you could set up a dedicated server instead of having it connect to your IP but I'm not too sure how all of that works so I would recommend you research hosting a dedicated server with it's own IP.
The administrator has disabled public write access.
The following user(s) said Thank You: F-Sh

Private server 5 months 1 week ago #3264

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 703
  • Thank you received: 697
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
Last Edit: 5 months 1 week ago by cyberix3d.
The administrator has disabled public write access.
The following user(s) said Thank You: Symbiotic Interactives, F-Sh

Private server 5 months 1 week ago #3265

  • F-Sh
  • F-Sh's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 6
Thanks for your answer.
But it does not work for me.
It works using my local ip address but not using my public ip address can you tell me why?
The administrator has disabled public write access.

Private server 5 months 1 week ago #3266

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 703
  • Thank you received: 697
Hello F-Sh,

Thank you for your feedback.

Here are a few things to check to resolve the issue of your Red5 server not working with your public IP address:

1. Port Forwarding:
• Ensure that you have correctly set up port forwarding on your router. The ports 5080 and 8080 should be forwarded to your computer’s local IP address (e.g., 192.168.x.x).
• Double-check that the port forwarding rules are active and correctly configured in your router’s settings.

2. Firewall Settings:
• Make sure that your computer’s firewall is not blocking the incoming connections on ports 5080 and 8080. You may need to add inbound rules for these ports in your firewall settings.

3. Public IP Address:
• Verify that you are using the correct public IP address. Sometimes public IP addresses can change, especially if you don’t have a static IP from your ISP. You can recheck your public IP address at WhatIsMyIP.

4. ISP Restrictions:
• Some Internet Service Providers (ISPs) block certain ports or do not allow servers to be run on standard residential connections. Contact your ISP to ensure they are not blocking the necessary ports.

5. Router Configuration:
• Ensure that your router supports port forwarding and is configured correctly. Some routers have advanced settings or security features that might need to be adjusted.

6. Testing Connectivity:
• Test the connection using a tool like canyouseeme.org to see if your public IP address and specified ports (5080 and 8080) are accessible from the outside world.

Please check these items and let us know if you are still experiencing issues. We are here to help!

Regards,
Cyberix3D Team
The administrator has disabled public write access.
The following user(s) said Thank You: F-Sh

Private server 5 months 1 week ago #3267

  • F-Sh
  • F-Sh's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 6
I have done these settings on the router, check the screenshot to see if I did it right.
thanks again :)


EDIT: Thanks, it's working now. :cheer:
Last Edit: 5 months 1 week ago by F-Sh.
The administrator has disabled public write access.

Private server 5 months 1 week ago #3268

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 703
  • Thank you received: 697
Hello F-Sh,

That's great to hear! We're glad it's working now. If you have any other questions or need further assistance while building your game, don't hesitate to reach out.

Happy game development!

Regards,
Cyberix3D Team
The administrator has disabled public write access.
The following user(s) said Thank You: F-Sh

Private server 5 months 1 week ago #3269

  • elvis
  • elvis's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 1
To set up a private server for Cyberix3D, download the server files, configure the settings, and host it on your computer or a VPS. If you're hosting at home, remember to set up port forwarding. Once it’s set up, test it out. Let me know if you need more help! :) :) :)
The administrator has disabled public write access.
The following user(s) said Thank You: F-Sh
Time to create page: 0.090 seconds