# Is it possible to test Discourse Embed comment on localhost?

**URL:** <https://meta.discourse.org/t/is-it-possible-to-test-discourse-embed-comment-on-localhost/42724>\
**Category:** Product Support\
**Created:** [April 18, 2016, 11:25am UTC](https://meta.discourse.org/t/is-it-possible-to-test-discourse-embed-comment-on-localhost/42724 "2016-04-18T11:25:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [April 18, 2016, 3:08pm UTC](https://meta.discourse.org/t/is-it-possible-to-test-discourse-embed-comment-on-localhost/42724/2 "2016-04-18T15:08:11Z")

</div>

This might be due to vagrant’s port forwarding. Your site believes its host is `:4000` when in fact it’s `:3000`. When I test locally I am not using such port forwarding and it works correctly.

Perhaps try the `force hostname` site setting with `:3000`? That might correct the issue.

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-test-discourse-embed-comment-on-localhost/42724)._
