update the method pa_createPort and pa_stopPort, which contain two typo (i.e., using portId instead of hostId)