5900 port is for the interface and 5800 port is for HTTP so whatever VNC display you are using (i.e. 1 or 2 or 3, etc.) will be the port you need.
For example, VNC display 1 will be 5901 for interface viewing and 5801 will be HTTP viewing.
I hope that helps.