Print after colon

I have entries like below in a file

11.22.33.44:80
22.33.44.55:81
:::587
:::465

What I need is to take out the part after colon ( : )
Output should be as follows.

80
81
587
465

I used cut -d: -f 2 but its not working as dedired.

sed 's/.*://' <datafile.txt
1 Like

Thanks it worked.