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.
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.
No one give usefull information like always
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.
Aktivate UPnP on your Rooter an have fun ๐
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. ๐
Shame they didnt just release this on steam to drop the headache with windows 10 xbox app.. absolute rubbish
Couldn’t agree more. Especially after Sea of Thieves start (which was also a complete pile-up of a disaster)
Issue still persists. Please update.
Did anyone find a solution for this problem?
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
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.
This doesn’t work for my pc. I even triple checked my firewall status
This fix doesn’t work.
Good for those on pc. Doesnt really help us on xbox
Yeah…if only it would work on PC as intended or on Xbox for that matter…it’s pretty much sh*t connecting to friends…
DOESNT WORK
Activate UPnP on your Rooter it Works