This worked for me, and here are the steps I took that might work for you:
1) Log into your modem/router. I've a NetGear (modem+router in one), so after logging in, go to the Advanced tab > Access Control. (This is where I saw my phone was blocked.)
2) At the very bottom of this page, there is a drop-down arrow next to "View list of blocked devices not currently connected to the network." (It may be called a Blacklist instead on your device.) In there, delete your phone from this list.
3) Then on your iPhone, go to Settings > General > then scroll to the bottom for Reset. Then hit Reset Network Settings, allow your device to reset, and reconnect to your wifi network(s). Back in NetGear, you should see that it's no longer blocked.
Hope this helps!