# Enable local network access Enable local network access (LNA) for app preview. ## Local network access permission Newer versions of some internet browsers implement LNA restrictions. This security feature protects you from [obscure tracking methods](https://localmess.github.io) and attacks that target devices on your home or work network (for example, printers or routers). For example, Chrome (starting with version 142) adds [a new permission prompt for all local network access](https://developer.chrome.com/blog/local-network-access). This means you must explicitly grant the permission for sites that make connections to a user’s local network, as described in [the specification](https://wicg.github.io/local-network-access). ## LNA permission requirements for Stripe Apps When [previewing your app](https://docs.stripe.com/stripe-apps/create-app.md#preview-app), the browser requires LNA permission for the browser to download static assets (such as JavaScript bundles) from a local HTTP server started by [the `stripe apps start` CLI command](https://docs.stripe.com/stripe-apps/reference/cli.md#command-overview). This allows you to preview your app changes in the Dashboard. ## Allow local network access for Stripe Apps To allow LNA for Stripe Apps: 1. Open terminal and run `stripe apps start`. 1. You’ll see a prompt on the [enable preview page](https://dashboard.stripe.com/apps/enable-preview) asking you to grant LNA to the Stripe Dashboard. See [Getting started with Stripe Apps](https://docs.stripe.com/stripe-apps/create-app.md#preview-app) to learn more. After you grant permission, you can make requests to the local HTTP server to download Stripe App JavaScript bundles. ![](https://b.stripecdn.com/docs-statics-srv/assets/lna-prompt-enable-preview.695d5a366fa749dfab66e57728ff504c.png) An example of a prompt that requests local network access on the Enable Preview mode page. ## Troubleshooting If you blocked access to a local network, you can update your permission settings. ### Chrome To update your Chrome LNA permission settings: 1. Open the [Stripe Dashboard](https://dashboard.stripe.com/) in Chrome. 1. Click the site settings in the address bar. The site settings are behind what Google refers to as the “tune icon” in Chrome, next to the first letter of the URL. 1. Select **Site settings**. 1. Find **Local network**. 1. Click **Allow**. 1. Refresh the Stripe Dashboard page. Alternatively, use the `chrome://settings/content/localNetworkAccess` page to inspect and adjust current local network access settings. If Chrome still can’t access the local network after granting permission, there might be a macOS bug where local network requests are blocked even though the permission appears granted. See [Browser local network access](https://docs.stripe.com/terminal/network-requirements.md#browser-lna) in the Terminal network requirements for steps to fix this. ### Firefox To update your Firefox LNA permission settings, see [Control personal device and local network permissions in Firefox](https://support.mozilla.org/en-US/kb/control-personal-device-local-network-permissions-firefox#w_manage-access-permissions-to-your-device-and-local-network) in Mozilla’s documentation. ### macOS On macOS, apps must be explicitly permitted to access the local network. To verify that Chrome or Firefox has local network access: 1. Open **System Settings**. 1. Click **Privacy & Security**. 1. Click **Local Network**. 1. Confirm that Chrome or Firefox is listed with the toggle enabled. ### Browser extensions Browser extensions can interfere with local network requests. To rule out extensions as a cause, try connecting to your reader in a private or incognito window, which disables most extensions by default.