Home / Blog / GPU Repair

Moonlight/Sunshine Can't Find Your Host or Pairing Fails? Host Service, Network Path & Client Diagnosis Guide

GPU Repair 2026-11-25 19 minutes HK GPU Fix Editorial Team
Moonlight/Sunshine Can't Find Your Host or Pairing Fails? Host Service, Network Path & Client Diagnosis Guide

Summary

Moonlight cannot find your host, or pairing fails, for three separate reasons: the Sunshine service is not running, the network path blocks discovery or connection, or the client itself is at fault. This guide runs three tests — a host-service check, a network-path contrast, and a client contrast — to find which layer failed before changing any setting.

What "can't find the host" and "pairing fails" actually mean

Start by defining the symptom precisely, because two different symptoms are often described with the same words, and they point in different directions.

The symptom this guide covers is a failure to connect at all: Moonlight cannot find the host computer, or it finds the host but pairing or connection fails. Either way, no game stream starts. Nothing is ever displayed from the host, because the session never begins.

That is not the same as these lookalikes, and they should be separated before any testing begins:

  • A stream that starts but stutters, lags, or drops frames. Once a connection is established, poor smoothness belongs to the latency layer — the choice of wireless band, the bitrate, and the encoder. Those are diagnosed with a different set of tests, after the connection works.
  • A stream that connects but shows a black screen or a low resolution. If the stream starts and the picture is black, the fault is in the display-target layer — what the host is showing, or whether anything is connected to display it. That is a different layer from a connection that never starts.
  • A game controller that does not respond inside a game. If the stream itself works and only the controller is unresponsive, the fault is in the controller layer, not in the connection layer.

If your symptom is one of the three lookalikes, the tests below will still teach you how the system works, but their conclusions will not fit neatly. If your symptom is that Moonlight cannot find the host, or that pairing fails, work through the three tests in order. The order matters: the first test decides whether the host service is even running, the second decides whether the network path or only its discovery step is broken, and the third decides whether the fault follows the client device. Changing network or firewall settings before the first test is done destroys the most valuable diagnostic evidence you have — the difference between a service that never started and a network that never carried the request.

Moonlight and Sunshine are a pair, not one program

The first thing to understand is that Moonlight and Sunshine are two halves of one system, not a single program. Confusing them is the most common reason the wrong layer gets blamed.

Sunshine is the host service. It is installed on the gaming computer — the host — and it is the part that captures the screen, compresses the picture with the graphics card's hardware encoder (NVENC on NVIDIA cards, AMF on AMD cards, or QuickSync on Intel graphics), and sends it to the client. Moonlight on its own cannot take a picture from an ordinary computer. If Sunshine is not installed on the host, or if it is installed but not running, Moonlight has nothing to connect to, and no amount of network troubleshooting will help.

Moonlight is the client. It runs on the device you play from — a phone, a tablet, another computer, or a TV box — and it is the part that discovers the host, pairs with it, and receives the stream. A fault in Moonlight itself, or in that device's network, can look exactly like a fault in the host, which is why the client has to be tested as its own layer rather than assumed to be working.

Pairing is a separate step from discovery. The first time a client connects, it must be paired with the host. The flow runs in one direction only, and getting the direction wrong is a common mistake: Moonlight displays a four-digit PIN, and that PIN is entered in the pairing area of the Sunshine web interface on the host. If the PIN is entered wrongly, or if the pairing step is skipped, Moonlight may find the host and still be unable to get in. "Found but cannot get in" and "cannot find at all" are two different symptoms, and they are diagnosed in different directions.

Sunshine's management interface is a local web page, reached on the host itself at https://localhost:47990. The first time it is used, an administrator username and password are created there. The browser will show a self-signed certificate warning when opening it. That warning is expected behaviour for a locally hosted interface that is not a public website, and it is not evidence that the connection has failed.

The older host route was NVIDIA's GeForce Experience and GameStream. Sunshine is the more general choice now, because it works with AMD, Intel, and NVIDIA graphics cards. This guide is written around Sunshine; GameStream is mentioned here only as that one boundary sentence and is not developed further.

Test 1: Check the host service on the host itself

Test 1 is the gate. It is done on the host computer itself, before touching any network setting, because it separates "the service never started" from "the network is broken".

Go back to the gaming computer — the host — open a browser there, and go to https://localhost:47990. Do not try to judge the host service from the client side. From the client, a silent host and a blocked network look identical; from the host itself, they do not. Look for three things: whether the web interface opens at all, whether the administrator login works, and whether the Applications page inside the interface lists pre-loaded entries such as Steam and Desktop.

What you see on the hostWhat it meansWhere to go next
The web interface does not open at allThe host service layer: Sunshine is not running — it was never installed, never started, or the installation failed.Fix the installation and startup first. Do not go and investigate the network — the network layer has not been reached yet.
The interface opens, login works, and Applications lists Steam and DesktopThe host service is running. The fault is not in the service itself.Go to Test 2 and look at the network path.
The interface opens, but Applications is empty — no Steam, no Desktop, and no game listedThe service is running, but the streaming target has not been set up. Moonlight would connect and then find no game to launch.This is an application-setup layer, not a connection layer. Set up the applications in the Sunshine interface before testing the connection again.

The browser's self-signed certificate warning deserves repeating here: it is expected, and it must not be recorded as "the certificate is broken, so the connection failed". If the warning is the only thing that looks wrong, and the interface opens behind it, Test 1 has passed.

Skipping Test 1 is the single most common way to waste an afternoon on this problem: a service that never started gets misread as a network problem, and hours are spent in router and firewall settings that were never the fault.

Test 2: Compare automatic discovery against manual Add PC — with two sub-checks in the same test

Test 2 uses one variable — the way the host is found — to split "cannot find" into two completely different repair directions. It has two sub-checks, and they belong inside this one test; they must not be split into two separate tests.

On the same client, on the same day, try automatic discovery first, then manual entry. For automatic discovery, wait for Moonlight to list the host on its own. For manual entry, use Add PC or Add Host in Moonlight and type the host's local network (LAN) IP address — the address of the host on your home network. Manual entry is a diagnostic tool, not a permanent solution: if it works while discovery does not, it proves the discovery layer is broken, and the discovery layer still needs to be fixed rather than worked around forever.

Moonlight's automatic discovery relies on network discovery broadcasts (mDNS). On one home network it usually finds the host at once. But if the client and the host are on different VLANs or subnets, if the router has AP isolation switched on, or if the firewall blocks the discovery packets, automatic discovery will find nothing — even though a manual connection to the host's IP address would work perfectly. That distinction is the heart of this test: "automatic discovery found nothing" is not the same as "cannot connect".

ResultWhat it meansWhere to go next
Automatic discovery finds nothing, but manual entry with the host's LAN IP finds the host and pairs at onceThe discovery layer: the connection itself works, and the fault is in discovery and broadcast (mDNS broadcasts blocked, different subnet or VLAN, AP isolation).Fix the network discovery settings, not Sunshine itself.
Both methods find the host, but pairing failsThis is not a discovery problem at all. It is a pairing-layer problem.Go back to the PIN flow from Test 1: check that the four-digit PIN shown by Moonlight was entered in the Sunshine pairing area, and generate a fresh PIN if the previous one has expired.
Neither automatic discovery nor manual entry finds the hostThe connection layer: run the two sub-checks below before concluding anything.Sub-check A, then sub-check B.

Sub-check A — the firewall. Check whether the host's firewall has allowed Sunshine through. During installation, the firewall usually prompts for permission to allow Sunshine; if that prompt was answered with "deny" by mistake, Sunshine's network traffic is blocked. Check the firewall's allow state — which applications are permitted — rather than switching the firewall off. Turning the firewall off is not a diagnosis, and it is not a recommendation. A firewall that is switched off tells you nothing about which rule was wrong, and it leaves the machine unprotected.

Sub-check B — the port group. The port group mentioned by the sources is TCP 47984, 47989 and 48010, plus UDP 47998–48000. Treat those numbers as conditional: they should be checked against the Sunshine documentation current at the time of reading, not treated as a permanent answer, because port assignments can change. Only one of the sources consulted states this exact group, which is another reason to present it as "as stated in the current documentation" rather than as a fixed fact. And port forwarding belongs to remote streaming over the internet — it should not be the first step when a local-network connection fails.

One more result needs its own row, because it is easily misread as a Test 2 failure: if the client and the host are not on the same network at all — for example, the client is on mobile data while the host is at home — then neither method will find the host, and that is not a failure of this test. Cross-network streaming first needs the two devices on the same network, or a VPN joining them, and that is a boundary of this guide, not a Test 2 result.

Without Test 2, AP isolation gets misread as a broken Sunshine installation, and a firewall rule gets misread as a broken client. The test costs nothing and divides the problem cleanly.

Test 3: Try a second Moonlight client against the same host

Test 3 is the only test that asks "does the fault follow the client?" Test 1 asked about the host, Test 2 asked about the path, and only Test 3 asks about the client.

Find a second device with Moonlight installed — another phone, tablet, computer, or TV box — and connect it to the same host, on the same network, on the same day. Do not compare results recorded days apart, because the host, the network, and the software may all have changed in between.

ResultWhat it meansWhere to go next
The second client connects, and the original client does notThe original client layer: the fault follows the original client (its version, its settings, or that device's network).Work on the original client. Do not change the host.
The second client cannot connect eitherThe host or network layer: the fault does not follow the client.Go back to Test 1 (service) and Test 2 (network path) and re-check the comparison. Do not keep circling on the client side.
The two clients show different symptoms — one "finds but cannot pair", the other "cannot find at all"Two different layers are broken at once (one pairing layer, one discovery layer).Treat them as two separate problems and fix them separately. Do not treat them as one fault.

This test has the same shape as a test used in a neighbouring guide about streaming to a headless host, where the comparison was between two different remote tools — built-in remote desktop against a streaming tool. That overlap should be stated plainly. The variable here is different: this guide changes the client device while keeping the same tool, Moonlight, on both devices. The neighbouring guide asked "which tool gets in"; this one asks "which device gets in". Do not import that guide's display-target tests — dummy plugs and display settings — into this investigation: those belong to the "connected but black screen" layer, not to the "cannot connect" layer. And do not import the bitrate, encoder, and Wi-Fi band tests from the wireless-streaming latency guide either: those only apply after a connection succeeds.

How the three tests fit together

TestWhat it provesIf it fails, the fault is in
Test 1: host-service check on the host itselfSunshine is running and has applications to streamInstallation or startup of the host service, or application setup
Test 2: automatic discovery vs manual Add PCWhether the path, or only its discovery step, is brokenDiscovery and broadcast (mDNS, subnet, AP isolation), the firewall, or the port group — the two sub-checks of this one test
Test 3: second client against the same hostWhether the fault follows the client deviceThe original client device, or — if both fail — back to the host and network layers

Reading the table from top to bottom is the whole method: prove the service runs, prove the path carries the request, then prove the client is not the variable. A fault that survives all three tests with every layer apparently correct has not been proved unfixable — it has been proved to need a different investigation, starting with what changed most recently: a Sunshine or Moonlight update, a router change, a firewall change, or a new device joining the network.

Boundaries: what this guide does not cover

A few topics sit just outside this guide, and each deserves one sentence and no more.

Remote streaming over the internet needs port forwarding, and where the internet provider uses carrier-grade NAT (CGNAT), port forwarding may not work at all. For remote access, using a VPN is safer than opening ports, and opening ports for everyday use is not recommended. Cloud gaming services, where the game runs on a remote server rather than on your own host, are outside this guide entirely — there is no local host to diagnose. The older GameStream route is a boundary sentence only, as noted above. And if the stream connects and the game launches, but a controller does nothing inside the game, that is a controller-layer problem, not a connection problem.

Prevention and ongoing care

A setup that connects today can stop connecting after an update, because the chain depends on the host service, the network, and the client all agreeing with each other. A few habits keep the chain visible so that the next failure is quick to divide:

  • After any Sunshine, Moonlight, router, or firewall change, run the Test 1 check once — open the web interface on the host and confirm the service is running — before assuming everything still works. A failure caught the same day is far easier to attribute than one noticed a week later.
  • Keep a short note of the working configuration: the host's local IP address, whether automatic discovery or manual entry was used, and which client devices are paired. When something changes, the note tells you what changed.
  • Do not stack changes. If you change the firewall rules, the router settings, and the client app in the same session, no later test can tell you which change mattered. Change one thing, repeat Test 2, and record the result.
  • Treat version numbers and port numbers as snapshots, not permanent answers. Software versions and documented port groups move over time. When a guide names a figure, treat it as the figure current when that guide was written, and check the vendor's current documentation at the time of reading before treating any figure as the answer.
  • Pair new clients on the local network first. Setting up pairing while both devices are at home removes the remote-access variables from the first attempt, and it is the order the sources recommend.

When to seek professional help

If Tests 1 to 3 have been run in order and the results point to a layer you cannot change safely — for example, the Sunshine interface will not open at all and reinstalling does not resolve it, or the host and client are on networks you cannot reconfigure — that is the point to bring the machine in rather than keep changing settings. The same applies if the problem appears alongside other symptoms, such as the graphics card not being detected at all, the machine overheating, or the display failing, which suggest a problem beyond the streaming connection.

Diagnosis and repair are charged under the site's public three-tier pricing, from HK$400 to HK$2,800 depending on the work involved, subject to quote after inspection. The shop is at Room 1209, Dali Plaza, Shek Mun (石門達利廣場1209室). The phone number is 2186 8010 and WhatsApp is 6558 6806. There is no Mong Kok shop and no on-site service, so please bring the machine to the Shek Mun shop, and bring the notes from your three tests — whether the web interface opened, what automatic discovery and manual entry each did, and whether a second client connected — because those notes are the fastest route to the right repair.

Frequently asked questions

Moonlight cannot find my host at all. Is Sunshine broken?

Not necessarily. "Cannot find" can mean the service is not running, the discovery broadcast is blocked, or the client and host are on different networks. Run Test 1 first — open the Sunshine web interface on the host itself. If it opens, the service is running, and the fault is in the network path, not in Sunshine.

What does the browser's certificate warning mean when I open the Sunshine page?

It is expected behaviour. The Sunshine management interface is a locally hosted page with a self-signed certificate, so the browser warns about it. It is not evidence that the connection has failed. If the interface opens behind the warning, Test 1 has passed.

Moonlight finds my host but pairing fails. What should I check?

Check the pairing direction first: Moonlight displays a four-digit PIN, and that PIN is entered in the pairing area of the Sunshine web interface on the host — not the other way round. If the PIN was entered correctly and pairing still fails, generate a fresh PIN in Moonlight and try again, because a PIN can expire.

Automatic discovery finds nothing, but adding the host manually works. Is that fixed?

It is diagnosed, not fixed. Manual entry proves the connection itself works and the fault is in the discovery layer — for example, mDNS broadcasts blocked, different subnets, or AP isolation. Treat manual entry as a diagnostic result, and fix the discovery settings rather than relying on manual entry permanently.

Should I just turn the firewall off to test?

No. Check the firewall's allow state — whether Sunshine is permitted through — instead of switching the firewall off. Turning it off is not a diagnosis: it tells you nothing about which rule was wrong, and it leaves the machine unprotected. If the firewall prompt during installation was answered with "deny" by mistake, correcting that one permission is the fix.

Which ports does Sunshine use?

The port group mentioned by the sources is TCP 47984, 47989 and 48010, plus UDP 47998–48000, but treat those numbers as conditional and check them against the Sunshine documentation current at the time of reading. Only one of the sources consulted states this exact group, and port assignments can change. Port forwarding is a remote-streaming topic, not the first step for a local-network failure.

My second phone connects fine, but my tablet does not. What does that mean?

That is the Test 3 result that points to the original client layer. The fault follows the tablet — its Moonlight version, its settings, or that device's network — so work on the tablet and leave the host alone.

Both of my clients fail to connect. Does that mean both clients are broken?

No — it means the fault does not follow the client. When two different clients fail against the same host, the fault is in the host or network layer. Go back to Test 1 to check the service, then Test 2 to check the network path.

Can I set up pairing while I am away from home?

Pairing should be done on the local network first, with both devices at home. Setting it up remotely adds the remote-access variables — port forwarding and carrier-grade NAT — to the very first attempt, and a failure then tells you nothing about whether the basic pairing works.

My stream connects, but the game stutters. Is this guide the right one?

No. Once the stream connects, stuttering and lag belong to the latency layer — wireless band, bitrate, and encoder choice — which is diagnosed after the connection works. This guide only covers failing to find the host or failing to pair. If the picture is black after connecting, that is the display-target layer, not the connection layer.

Related Articles

Related Services

Looking for Chip-level GPU repair? Explore our service guides: