The ban will exclude the United Kingdom, the president said Wednesday night in a brief address to the nation.