Local Help Docs Advanced

Router Mode FAQ

Local’s Router Mode can resolve port conflicts and help you start Local Sites that may have previously failed to start.

What modes are available?

Site Domain Mode

This is Local’s default router mode. Sites load over recognizable domains like mysite.local.

Advanced users: if you’re using a TLD other than .local, you’ll need to use Site Domain Mode.

localhost Mode

This is Local’s fallback router mode if we detect a conflict with ports 80 or 443.

SSL is currently unavailable for localhost router mode.

How do I use localhost mode?

Local may detect a port conflict on ports 80 or 443. If it does, Local will offer to use localhost. When in doubt, click “Use localhost” and Local will take care of the rest!

What does localhost mode do to my site?

Click “View Site” and confirm you can load your Local site in browser. You’ll notice that the domain listed for your site is localhost.

Local appends a random port number (that isn’t conflicted) to the end of localhost, so your site’s URL will be something like http://localhost:10005.

If you start another site in Local, this site will also use localhost mode but it will have a different URL like http://localhost:100066.

Can I change my port number?

Not at this time! Use your internet router and port forwarding feature to direct traffic to your Local site.