State of Decay 2 Code 6 Connection to Host Error - How to Fix

Code 6 is a connection error in State of Decay 2 that players have been encountering. It blocks you from playing the State of Decay 2 multiplayer co-op mode when you try to join a host. Luckily, the solution for the problem (of workaround, if you want) isn’t too complicated. So, here’s how to fix State of Decay 2 Code 6 Error.

State of Decay 2 Code 6 Connection to Host Error - How to Fix
State of Decay 2 Code 6 Connection to Host Error – How to Fix

How to Fix Code 6 Error in State of Decay 2?

To fix the State of Decay Code 6 error, you simply have to turn on Windows Firewall. This being a Microsoft game, for some reason, it requires Windows Firewall to be on in order to connect to the host. Now, this problem might persist even after you turn Windows Firewall, though. If that happens, keep the firewall on, and reset your rig. After that, the Code 6 error should be over and done with. Of course, make sure that your internet connection is running as it should, and that all the Windows services that you need for multiplayer are set to default.

In order to turn on Windows Firewall, right-click the Start button and click on Command Prompt (Admin). Then, run this command: netsh advfirewall show currentprofile. The default version is Firewall Policy BlockInbound,AllowOutbound. If it says Allowinbound, that’s your problem. Run the following command in Command Prompt (Admin): netsh advfirewall set currentprofile firewallpolicy blockinbound,allowoutbound, and that should fix the problem.

If the problem still persists with the Windows Firewall is on and your internet is running smoothly, some of your security programs might be causing the problem. Specifically, according to Xbox Security, it could be either Bit Defender Internet Security, AVG Internet Security, or Panda Internet Security 2015 or 2016. If you use any of these programs, make sure that they’re all updated to the latest versions. After all this is done, you should be rid of the Code 6 error in State of Decay 2. If you need further help with the game, you can check out our State of Decay 2 Doomsday Pack and State of Decay 2 How to Play Co-Op Multiplayer articles.

UPDATE: The Code 6 problem is still plaguing State of Decay 2. Some people have manage to fix it somehow, but for many, it remains a problem. Right now, it seems that no amount of fiddling with the Command Prompt will help for some. This is due to the fact that the Xbox Live Status of State of Decay to has been set to Limited. That will hit you regardless if you’re playing on PC or on the Xbox. Hopefully, the developers will get on this soon, and the game will function as intended.

TAGS
Author JoeTheBard profile picture
A language teacher and video game enthusiast turned rogue, Joe is on a quest to become the ultimate gaming journalist. This is somewhat hampered by his belief that the golden age of gaming ended with the PlayStation One, but he doesn't let that stop him. His favorite games include Soul Reaver and Undertale. Other interests are D'n'D, dad rock, complaining about movies, and being the self-appointed office funny man, which nobody else agrees with.

YOU MAY ALSO READ

14 COMMENTS

    B
    Brandon noghlabadi

    DOESNT WORK

      S
      Saytia

      Activate UPnP on your Rooter it Works

    L
    Levi

    Good for those on pc. Doesnt really help us on xbox

    D
    Dave

    This fix doesn’t work.

    D
    Duckie

    This doesn’t work for my pc. I even triple checked my firewall status

    J
    John

    Issue still persists. Please update.

      S
      State of decay

      Did anyone find a solution for this problem?

        J
        Joshua

        The fix mentioned here did not work for me however this did.
        Check the iphlpsvc registry path:

        Right-click the Start icon, and then select Command Prompt (Admin).
        Run the following command from the Admin command prompt:
        reg query HKLM\System\CurrentControlSet\Services\iphlpsvc\Teredo

        If the output includes the following line, Teredo has been disabled:

        Type REG_DWORD 0x4

        You can re-enable Teredo by running the following command from the Admin command prompt:
        netsh interface Teredo set state type=default
        This fix is taken off this link here: https://support.xbox.com/en-US/xbox-on-windows/social/troubleshoot-party-chat

          M
          Mike

          After Hours of trying different things. I uninstalled Panda Gold 2016, I took my router out of the occasion and hardlined directly to the modem (to my wife’s frustration) this finally worked, no problem.

    D
    Daniel

    Shame they didnt just release this on steam to drop the headache with windows 10 xbox app.. absolute rubbish

      T
      Tony

      Couldn’t agree more. Especially after Sea of Thieves start (which was also a complete pile-up of a disaster)

    D
    Daniel

    This worked well for me. We have three PCs in the house and of course the one with the firewall disabled was the player trying to host. 🙂

    S
    Saytia

    Aktivate UPnP on your Rooter an have fun 🙂

    B
    Bella

    There is a solution for this on Xbox you need to open up a bunch of ports in your routers advanced settings for both UDP and TCP, disable your IpV6 firewall and probably reverse a dedicated IP Address for your Xbox, the last night not be necessary but I did it anyway and fixed the problem.

Leave a Reply

Your email address will not be published. Required fields are marked *