You open your multiplayer Unreal app twice - you press "Host a session", a colleague presses "Join a session" - and sometimes it works, sometimes Join finds nothing. That is not a bug in your app. It is the difference between a listen server, which only works when both people end up on the same network, and a dedicated server, which works wherever each person is. This page explains both in plain words, with pictures, and shows the way that always works on Eagle 3D Streaming.
1. Listen server: one player's own copy of the app is also the server. The others must reach that copy - usually found by "LAN discovery", which only searches the local network.
2. On Eagle 3D Streaming every viewer gets their own session on their own machine, and our machines are spread over data centres on different continents. Two viewers are almost never on the same local network, so LAN discovery finds nothing.
3. It may work by chance: every session runs on its own machine. If the two machines happen to be in the same network (the same data centre), LAN discovery finds the host and Join works. Next time the sessions can be in different networks, and Join finds nothing. That is why the first test can work and later ones not.
4. Dedicated server: a separate server build that every player connects to. Eagle 3D Streaming hosts it for you, starts it when needed and joins every viewer to it automatically - guaranteed, and free for non-commercial use. How
In many Unreal templates (Collab Viewer, the multiplayer samples) one person presses Host a session.
Their copy of the app becomes the server and keeps playing as a normal player at the same time - it
"listens" for others. The others press Join a session: the app searches for hosts on the local
network (LAN discovery), or connects to the host's address (for example 127.0.0.1 on the same
computer, or an IP address on port 7777).
On your own desk this works well: both computers are in the same office network, they can see each other, and LAN discovery finds the host in a second.
When you stream the app, it does not run on your computer - it runs on one of our GPU machines, and so does your colleague's. Every person who opens a stream link gets their own session on their own machine, picked from data centres in different regions and continents. You may be streamed from the United States while your colleague is streamed from West Europe.
A dedicated server is a second build of your project that only runs the shared world - no graphics, no player of its own. Every player connects to it, wherever their session runs. (In Unreal, "dedicated server" means this server build - not a machine reserved for you.)
On Eagle 3D Streaming you upload the server build next to your app. We host it, start it when someone opens the app, and every viewer joins it automatically - no address to type, and it works from a phone browser too. Hosting the dedicated server is free for non-commercial use; the viewers' sessions are counted like any other streaming session.
| Listen server ("Host" / "Join") | Dedicated server on Eagle 3D Streaming | |
|---|---|---|
| Who is the server | One player's own session | A separate server build we host |
| How others find it | LAN discovery / typed IP | Automatically, every viewer |
| Works when viewers are in different networks / continents | No (only when both happen to be in the same network) | Yes, guaranteed |
| Host leaves | Session ends for everyone | The world keeps running |
| Cost of the server | - | Free for non-commercial use |
| What you build | One build | Two builds: app + server (needs Unreal built from source) |
Step by step:
One thing to know up front: Unreal can only package a dedicated server with an engine built from source (not the version installed from the Epic Games Launcher). The guide covers it.
My first test worked - why not the next ones? In the first test the two sessions ran on two machines in the same network, so LAN discovery found the host. Later the sessions were in different networks.
Can you make sure both sessions run in the same network? No - every viewer gets their own machine, whichever one is free at that moment, so we cannot promise two sessions land in the same network. Use a dedicated server instead.
Can the second person join by the host machine's IP address? Our machines accept incoming connections, so it can work when the host's machine is reachable - but the host's machine (and its address) changes every session, so it is not a way to run a real event. A dedicated server has one fixed place every player joins.
Do I need to change my app? Yes, a little: package a dedicated server build from the same project and upload it next to the app. The multiplayer guide shows each step.
Write to support@eagle3dstreaming.com or ask in our Discord - we can go through your project setup with you before you package the server build.
Last updated