Methods, systems, and computer program products, for optimizing performance of ports in a network are provided. By dynamically adjusting cylinder-specific assignment of the knock sensors for knock detection and pre-ignition detection based on operating conditions of each cylinder, knock and pre-ignition is more reliably identified and distinguished. Each terminal has a link to a remote server storing a server application for issuing to the terminal application requests for using the user interface.