What You're Seeing
You open Windows Media Player (WMP) to stream a song or video from a network server—maybe a home media PC or a work share—and instead of playing, you get a pop-up that says something like "Windows Media Player cannot connect to the server. The server might not be available or your network settings might be blocking the connection." The exact error code is 0XC00D1198 (also shown as NS_E_WMP_SERVER_INACCESSIBLE).
This usually happens when your firewall is blocking WMP, or your network isn't set up right for streaming. I've seen it hundreds of times. The good news: it's rarely a hardware problem. The fix is almost always in software settings.
Let's walk through this from simplest to most thorough. Stop when the error goes away.
30-Second Fix: Check Your Firewall
Nine times out of ten, this error is caused by Windows Defender Firewall (or a third-party firewall like Norton, McAfee, or Bitdefender) blocking Windows Media Player's network access. Here's how to check it:
- Press the Windows key on your keyboard, type Firewall, and click Windows Defender Firewall (or just "Firewall" depending on your Windows version).
- On the left side, click Allow an app or feature through Windows Defender Firewall.
- Click the Change settings button (you'll need admin rights—if you don't have them, call your IT person).
- Scroll down the list until you find Windows Media Player. There are two checkboxes next to it: Private and Public.
- If you're on your home or work network (not a coffee shop or airport), check Private.
- If you need to stream from anywhere, also check Public (but be careful—public networks are less secure).
- If Windows Media Player isn't in the list at all, click Allow another app (it's a button near the bottom), then Browse, and go to
C:\Program Files\Windows Media Playerand selectwmplayer.exe. Click Add, then check the boxes as above. - Click OK to save.
What should happen next: Close and reopen Windows Media Player. Try connecting to that same server or stream again. If it works, you're done. If you still get the error, move on to the next step.
5-Minute Fix: Reset Network and WMP Settings
If the firewall wasn't the issue, something else is blocking the connection. Let's reset a few things that often get corrupted or misconfigured.
Step 1: Reset Windows Media Player's network settings
- Open Windows Media Player. If you don't see a menu bar, press Ctrl + M to show it.
- Click Tools (if you don't see Tools, try clicking the little arrow under the "Organize" button, then Options).
- In the Options window, go to the Network tab.
- Under Streaming proxy settings, you'll see protocols like MMS, RTSP, and HTTP. For each one:
- Select the protocol and click Configure.
- Choose Use proxy settings of the browser (for HTTP) or Autodetect proxy settings (for MMS and RTSP).
- Click OK.
- Back on the Network tab, in the Streaming media protocols section, make sure Real Time Streaming Protocol (RTSP) and MMS are checked.
- Click Apply and OK.
What should happen next: Try the stream again. If it works, stop here. If not, move on.
Step 2: Reset your network stack
Sometimes the issue is in Windows' network configuration itself. This command clears out any corrupted settings:
- Right-click the Start button and select Windows Terminal (Admin) or Command Prompt (Admin). If you see a User Account Control prompt, click Yes.
- In the black window, type the following commands one at a time, pressing Enter after each one:
netsh winsock reset netsh int ip reset ipconfig /release ipconfig /renew ipconfig /flushdns - Close the terminal window and restart your computer.
What should happen next: After the restart, try connecting again. This fixes many quirky network errors. If it still doesn't work, we need the advanced fix.
15+ Minute Fix: Advanced Network and Registry Tweaks
If you're still stuck at this point, the problem is likely deeper—possibly a corrupted Windows Media Player library, a misconfigured registry entry, or a network service that's stopped. Let's go through these one by one.
Step 1: Check the Windows Media Player Network Sharing Service
Windows Media Player depends on a service called "Windows Media Player Network Sharing Service" to stream content. If it's stopped or disabled, you'll get this error.
- Press Windows key + R, type
services.msc, and press Enter. - Scroll down in the list of services until you find Windows Media Player Network Sharing Service.
- Double-click it. In the Startup type dropdown, make sure it's set to Automatic (or Automatic (Delayed Start)—either works).
- If the service is not running, click Start. Then click Apply and OK.
What should happen next: Try the stream again. If it works, great. If not, continue.
Step 2: Re-register Windows Media Player libraries
This is a weird fix, but I've seen it work when the WMP files themselves are corrupted. You're essentially telling Windows to reload the core DLLs that WMP uses.
- Open an admin Command Prompt or Windows Terminal as you did before.
- Copy and paste these commands one at a time, pressing Enter after each:
regsvr32 wmp.dll regsvr32 wmpui.dll regsvr32 wmpdxm.dll regsvr32 wmploc.dll - Each should return a success message. Ignore any warnings about the module being a non-executable—that's normal.
What should happen next: Close the command prompt and try the stream. If it fails, we have one last thing to check.
Step 3: Check the registry for a broken proxy setting (advanced users only)
I don't recommend this if you're not comfortable with the registry, but sometimes a corrupt proxy setting is the root cause. If you've tried everything above, this is your hail mary.
- Press Windows key + R, type
regedit, and press Enter. - Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings - On the right side, look for a value named ProxyEnable. If its value is 1, double-click it and change it to 0.
- Also look for ProxyServer. If it has anything in it, right-click and delete it (or export it first as backup).
- Close regedit and restart your computer.
What should happen next: After the restart, test the stream. This clears any forced proxy that might be overriding WMP's settings.
Still Not Working? Try This One Weird Thing
I've had a few cases where the error was caused by third-party antivirus software that blocks WMP even after you allow it in Windows Firewall. Temporarily disable your antivirus (not just the firewall component) and try the stream again. If it works, you'll need to add an exception in your antivirus for wmplayer.exe.
Also, if you're trying to connect to a server on a different subnet or over the internet, make sure your router's UPnP is enabled and that port 554 (RTSP) is forwarded to the server. That's beyond the scope of this guide, but it's worth mentioning.
When to Give Up and Use Something Else
Honestly, Windows Media Player is getting old. On Windows 10 and 11, Microsoft has been pushing their "Movies & TV" app and Groove Music for media. If you've tried all these steps and still get error 0XC00D1198, consider switching to a modern player like VLC (free download) or Plex for network streaming. VLC handles almost any stream you throw at it and rarely has these kinds of network errors.
But if you're stuck on WMP for work or personal reasons, these steps should get you sorted. Start with the firewall check—that's the one that catches most people. Good luck.