NMAP might not be correct in the guessing of what service is running. I've seen it mistaken several times.
I would check the following things:
Run the following command to check the process of the listening ports.
netstat -tulpn
Here is an example output:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:7337 0.0.0.0:* LISTEN 863/postgres tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1670/sshd tcp6 0 0 ::1:7337 :::* LISTEN 863/postgres tcp6 0 0 :::22 :::* LISTEN 1670/sshd udp 0 0 0.0.0.0:68 0.0.0.0:* 551/dhclient3
Here you can see that port 863 is postgres and 1670 is sshd.
I would also run these commands just to make sure:
lsof -i #Also lists listening programs nmap -sV <host ip> #nmap version detection grep 5010 /etc/services #linux's port to service name mapping
Here is example output when I grepped for port 22
ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp imap3 220/tcp # Interactive Mail Access imap3 220/udp # Protocol v3 xmpp-client 5222/tcp jabber-client # Jabber Client Connection xmpp-client 5222/udp jabber-client bpjava-msvc 13722/tcp # BP Java MSVC Protocol bpjava-msvc 13722/udp wnn6 22273/tcp # wnn6 wnn6 22273/udp xtell 4224/tcp # xtell server