Restarting your router is often the easiest and quickest way to resolve connectivity issues. Other bandwidth-heavy applications on your network can be detrimental to your ability to connect.
Clear the Cache of Your Console. Another common reason for the Call of Duty Modern Warfare Multiplayer not working error is the corrupted cache data. In this case, you can try clearing the cache files on your PC or console to fix the issue.