TestApplicationPorts.