Chrome asks once whether this site may access other apps and services on this device. Choose Allow: TWTwainClient runs on this computer and the page connects to it. The answer can be changed later in the site settings, under Apps on device.
Showing the page in an iframe of another site? Give the iframe
allow="loopback-network", otherwise Chrome blocks the connection without asking.
Managed browsers: administrators can allow the site without the question through the Chrome
policy LocalNetworkAccessAllowedForUrls, or the narrower
LoopbackNetworkAllowedForUrls.
This is the minimal step-by-step example. The full demo shows every option of the library.