How can I change the port for a local site?

In order for Local to use pretty URLs, it needs to use port 80. See this reply for more detail:

But basically, you can either:

  1. Only use one app at a time, or
  2. Switch Local to use localhost Router Mode, found under “Preferences > Advanced > Router Mode”