Tests for ports & addresses