The problem with ports is not caused by the application. You will have to check the DVR because those ports are the cameras connected to the device. If you can't see them then there is something configured improperly on the DVR side. I recommend removing all the cameras, then attach one by one. You can do this with the application turned on. There is also the possibility the ports are faulty on the DVR side.