Removed default ports, added error when no ports