Clearer error messages for incorrect ports.