# Access from the Internet

Learn how to expose a local FusionAuth instance to the internet.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

FusionAuth lets you develop locally with a full featured auth system. To do so, [install FusionAuth](https://fusionauth.io/docs/get-started/install.md) using one of the options, such as Homebrew or a .deb file.

There are situations where you want to expose your local FusionAuth instance to the internet. Some examples include:

*   debugging an integration with an external system
*   trying to show your custom themes to a developer on your team in a different office
*   verifying the behavior of cookies over a secure connection without setting up certificates
*   testing your login pages on a different device such as a phone or tablet

To help with these situations, use `ngrok`. This tool exposes your local FusionAuth instance and gives it a publicly accessible URL.

To set up `ngrok`, do the following:

*   [download and install ngrok](https://ngrok.com/download) (free registration required)
*   start your FusionAuth instance
*   run `ngrok`: `ngrok http --request-header-add 'X-Forwarded-Port:443' 9011`

You need the request header argument to avoid proxy issues from FusionAuth.

You'll then see a screen similar to this.

```plaintext
ngrok                                                           (Ctrl+C to quit)
                                                                                
Add Okta or Azure to protect your ngrok dashboard with SSO: https://ngrok.com/dashSSO
                                                                                
Session Status                online                                            
Session Expires               1 hour, 59 minutes                                
Terms of Service              https://ngrok.com/tos                             
Version                       3.1.0                                             
Region                        United States (us)                                
Latency                       58ms                                              
Web Interface                 http://127.0.0.1:4040                             
Forwarding                    https://627d-131-226-35-36.ngrok.io -> http://localhost:9011
                                                                                
Connections                   ttl     opn     rt1     rt5     p50     p90       
                              0       0       0.00    0.00    0.00    0.00      
```

If you are exposing a local web application as well as FusionAuth using `ngrok`, make sure you update your **Authorized redirect URLs** in the Application configuration.

## Security Considerations

Doing this gives anyone on the internet a path to your local machine, if they know the URL.

Shut this down when it has served its purpose.

Related

[Get Started Develop Learn about tools that help you develop and test an integration against a local FusionAuth instance. local developmentngrok](https://fusionauth.io/docs/get-started/develop.md)

[APIs Configure CORS How to set up and use the FusionAuth API Explorer. development setup](https://fusionauth.io/docs/apis/configure-cors.md)

[Authorization ngrok Cloud Edge Learn about the ngrok Cloud Edge OIDC integration. ngrok](https://fusionauth.io/docs/authorization/api-gateways/ngrok-cloud-edge.md)

[Deploy Local Cluster with minikube Learn how to provision minikube for local development and testing of FusionAuth kubernetes deployments. local development](https://fusionauth.io/docs/deploy/production/kubernetes/minikube.md)
---

## Other pages in Develop

> For the full index of this section, see [Get Started](https://fusionauth.io/docs/llms-get-started.txt).

- [Docs MCP Server](https://fusionauth.io/docs/get-started/develop/docs-mcp-server.md): Learn how to use the FusionAuth Docs MCP Server.
- [Example Applications](https://fusionauth.io/docs/get-started/develop/example-apps.md): Learn about and download example application code for working with FusionAuth in many programming languages.
- [Develop](https://fusionauth.io/docs/get-started/develop.md): Learn about tools that help you develop and test an integration against a local FusionAuth instance.
- [Kickstart](https://fusionauth.io/docs/get-started/develop/kickstart.md): Learn how to automate development and production deployment using Kickstart.
- [API MCP Server](https://fusionauth.io/docs/get-started/develop/mcp-server.md): Learn how to use the FusionAuth API MCP Server.
