# Niet in staat om lokale Discourse in te sluiten in lokale Ghost-instantie

**URL:** <https://meta.discourse.org/t/unable-to-embed-local-discourse-to-local-ghost-instance/174459>\
**Category:** Product Support\
**Created:** [28 december 2020 om 22:20 UTC](https://meta.discourse.org/t/unable-to-embed-local-discourse-to-local-ghost-instance/174459 "2020-12-28T22:20:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nehalist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nehalist/32/204489_2.png) [@nehalist](https://meta.discourse.org/u/nehalist)\
**Post date:** [28 december 2020 om 22:20 UTC](https://meta.discourse.org/t/unable-to-embed-local-discourse-to-local-ghost-instance/174459/1 "2020-12-28T22:20:52Z")

</div>

Hey there,  
I wanted to try out Discourse on a local ghost installation.

Basically I’ve set up everything in the easiest way possible; I’ve followed the “Beginners Guide to Install Discourse for Development using Docker” and set up Ghost using its CLI.

Ghost runs on localhost:2368, Discourse on localhost:9292

I’ve added `localhost:2368` to the Customize/Embedding allowed hosts (without any settings like class name, path allowlist or post to category).

After adding the code snippet (and ofc properly replacing placeholders) I do have an embed of Discourse which says “Loading discussion…” - but after a few seconds logs a console error

> Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘[http://localhost:9292](http://localhost:9292)’) does not match the recipient window’s origin (‘[http://localhost:2368](http://localhost:2368)’).

What am I missing here?

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/unable-to-embed-local-discourse-to-local-ghost-instance/174459)._
