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.
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.