To enable the access after you’ve already answered no to the popup, follow this steps,

  1. Go to System Settings > Privacy and Security > Local Network
  2. Enable/disable access for any apps that need it.