Xfinity wifi hotspot connected but no internet access

Why is my hotspot connected but no internet?

Go to Settings > Wi-Fi & network > Wi-Fi, tap the hotspot you are connected to, and then tap the pencil icon at the top. Step 2. Tap Advanced options, change DHCP to Static from IP settings, enter a custom IP like 192.168. 1.20 in the IP address field, and tap Save.

How do I fix Xfinity WiFi no internet connection?

Troubleshoot Internet Through the Xfinity My Account app.
Open the Xfinity My Account app (available for Apple and Android)..
Scroll down and select the Internet tile..
Select your modem, and select Troubleshoot Modem..
Then, select Restart Device. This can take up to seven minutes..