Don't try to get port if id isn't set