Im looking for a Wifi camera with the possibility to record on a server.

I buy a generic camera that when i make a nmap i get:

Nmap scan report for 192.168.0.172
Host is up (0.024s latency).
Not shown: 999 closed tcp ports (reset)
PORT     STATE SERVICE
6668/tcp open  irc
MAC Address: 00:00:00:00:00:00 (Shenzhen iComm Semiconductor)

And this camera have just “cloud storage”… and with “cloud” they mean “pay for it”. So, i want to know if there is a local server that maybe can get this camera, or if you can tell me for other camera that i can buy and i could connect to a home server (acting as cloudstorage)