error message showing cannot connect to youtube server when attempting to connect obs through youtube service

hi everyone,
im in the process of trying to start streaming small and short videos of my gameplay of msfs 2020 cause im a beginner at this. i c the stream key where it says start streaming and i go to click it and it says go to settings and enter url and stream key so i go to the streaming settings page and i click on youtube for the streaming service and it says cannot connect to youtube account server and i have tried several times to troubleshoot it but no luck. if anyone could please give me some tips and info on how i can make it work and go forward let me know as soon as u can thanks.

adam a


Are you able to stream to any other service? Set up a free account at etc and try. Sounds like a firewall might be blocking access to certain ports