I eventually solved this but I don't know why things had stopped working.
I deleted cached passwords in my browser, deleted the connections in iVMS-4500, deleted port mapping settings in my router, turned off UPNP and NAT in the cameras, turned them back on again and set up port forwarding...