Have you tried this?
If you’re having difficulties connecting to online play or to other players in Titanfall likely need to open, or forward, their online ports. Find the ports for your platform below, and then you can open your ports.
- TCP/HTTP: 443; 25000-25099; 30000 – 30099
- UDP: 8125; 25000-25099; 30000 – 30099