Visitors record missing

I use piwik for my site on my own server.But it doesnot work well. It only have the record from my localhost(IP: does not have any data from other computers or visitors.I want to know why is that.
PS:My site just use IP address to access,not have any domains.It is the reason? is a private IP. You’ll want to either (a) use your external (WAN) IP address, or use something like DynDNS to get a hostname.