Skip Navigation

Can I change the connection port for Mirror?

By default Mirror connects to a random port each time you open it but you can change this to a fixed port with the following Terminal command.

To set the connection port to port 8080 type the following in Terminal:

defaults write com.bohemiancoding.sketch3.plist mirrorWebPort -int 8080

Was this article useful?

We’re really sorry about that.
Please let us know what you were looking for:

If you need more help or you’d like to report a bug with this content, please contact support.

Thanks for your feedback.
An error occurred, please try again later.

Can’t find your answer?

Contact us and we’ll get back to you as soon as we can.

Documentation

Documentation

Learn more about how to use the powerful features that Sketch gives you in our documentation.

Manage your Workspace

Manage your Workspace

View your Workspace details, manage your members and more in your Workspace settings.

Changes to licenses

Changes to licenses

Starting April 2021, licenses are changing. Here’s everything you need to know.

Manage your license

Manage your license

Manage or recover Mac-only (SK3) license keys, add or remove devices, and access invoices.