How to change the nextcloud IP?

I installed Ubuntu on my old desktop and installed NextCloud, I have been using it fine until I changed my ISP. They provided me a new router and the range of IPs I can use are changed. I thought I could simply change NextClould IP from the config file, but that’s not helping. I still do not see the login page.

From /var/snap/nextcloud/current/nextcloud/config/config.php, I saw two places where it had old IPs, so I updated it accordingly.
The default gateway I have is so I updated the IPs to, where it used to be

I am new to Linux. What else do I need to change? I am only using the app in home network.

You can continue using the old private IP-addresses. Just login into your router and change the IP-range of your private network from 192.168.19.x to 192.168.0.x in the LAN settings.