Port no on remote network connection

To set up the firewall for remote connection I have found UDP port 5514 and TCP port 5515.

My question is if it is the same for both IRC5 and Omnicore?