# Test & activation emails are sent with port 4000 included

**URL:** <https://meta.discourse.org/t/test-activation-emails-are-sent-with-port-4000-included/26768>\
**Category:** Product Support\
**Created:** [3월 25, 2015, 2:04오후 UTC](https://meta.discourse.org/t/test-activation-emails-are-sent-with-port-4000-included/26768 "2015-03-25T14:04:10Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [3월 26, 2015, 7:06오후 UTC](https://meta.discourse.org/t/test-activation-emails-are-sent-with-port-4000-included/26768/9 "2015-03-26T19:06:53Z")

</div>

The odd thing is that it’s port 4000. That’s used for Unicorn, not the dev-mode webserver (which defaults to 3000, as does `SiteSetting.port`)…

Anyway, try:

```plaintext
/var/discourse/launcher enter app
rails c 
SiteSetting.port = ""
SiteSetting.force_hostname = ""
SiteSetting.queue_jobs = true

```

---

_[View the full topic](https://meta.discourse.org/t/test-activation-emails-are-sent-with-port-4000-included/26768)._
