That's an issue with your gateway, it's ports, the amount of traffic, and its certification for you. Your phone would not be the cause of that at all.
Here is a link to some steps to help with wireless connection: https://www.samsung.com/us/support/troubleshooting/TSG01001559/
If these steps do not help, it is recommended to speak with your internet provider directly.
Be sure to click " ✓ Accept as Solution" when you find an answer that works for you.
Please note, notification emails are a DO NOT REPLY address, you must log-in on the community page in order to respond.