Drupal 8 - User Login
Go to Admin -> People -> Permissions, and uncheck any permissions for anonymous users. 

Go to Admin -> Configure -> People -> Account settings, and under 'Who can register accounts?', choose 'Administrators only'.