For playing online you should open the ports on your router. This helps you find and connect to games without getting errors and opens your created game lobby to be available to all players worldwide.
The steps in the video will differ depending on your router.
Ports to open:
Call of Duty: World at War – PC
- TCP: 28960
- UDP: 3074,28960