The "Chooser / Saver / Embedder domains" registration does not accept or require the port number, so registering just "localhost" should be correct.
@drop_dev Can you show us how you're setting up the Embedder? That is, please share the code/HTML you're using. Thanks!