Do not throw exception on invalid port string