Check port preferences.