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.

▼Article Continues Below ▼
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.

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.