Moving on, try the following:
Windows 7
- Hold down the Windows key and press R. (This will open the Run dialogue.)
- Type cmd and press Enter. (This will open a command prompt.)
- Type ipconfig /flushdns and press Enter.
- Type ipconfig /registerdns and press Enter.
- Type ipconfig /release and press Enter.
- Type ipconfig /renew and press Enter.
- Type netsh winsock reset and press Enter.
- Reboot the computer.
Also make sure that Origin and The Sims 4 are added to the white lists of both your antivirus and firewall.
If neither of these help, try the steps provided in this article:
http://help.ea.com/en/article/connection-issues-with-origin/