Use Server Uplink on local server -- how to find uplink url

What I’m trying to do:
Use a server uplink while running an anvil app running on the local server.

What I’ve tried and what’s not working:

  1. Run my anvil app with the --uplink-key "<MY KEY>"
  2. Run my Uplink Script with url="ws://localhost:3030/_/uplink" and also replacing localhost with the ip address where I can access my app locally.
  3. Get this error:
Connecting to wss://anvil.works/uplink
Anvil websocket open
Fatal error from Anvil server: Incorrect uplink key
Anvil websocket closed (code 1000, reason=b'')