SAP Java Dispatcher uses the formula 50000+100*instance_number for the base port, with different offsets for different protocols. HTTP with SSL adds +1 to the base. For instance number 00, this would be port 50001. Options B (+3) and C (+4) represent other SAP protocols like P4 and telnet respectively, while option A (+2) is for HTTP without SSL.