# Poll problem when i use "-d --binding"

**URL:** https://meta.discourse.org/t/poll-problem-when-i-use-d-binding/65257
**Category:** Support
**Created:** [June 28, 2017, 9:14am UTC](https://meta.discourse.org/t/poll-problem-when-i-use-d-binding/65257 "2017-06-28T09:14:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Yohan](https://avatars.discourse-cdn.com/v4/letter/y/e99b99/32.png) [@Yohan](https://meta.discourse.org/u/Yohan)
#### Post date: [June 28, 2017, 9:14am UTC](https://meta.discourse.org/t/poll-problem-when-i-use-d-binding/65257/1 "2017-06-28T09:14:03Z")

</div>

Hi,  
I have a problem with the polls. When i use Discourse in my localhost, the polls works very well (i can choose my answer). But when i launch my server with the command “bundle exec rails server -d --binding=0.0.0.0”, my polls are displayed but the buttons are NOT displayed, i can’t do any action…  
There are some parameters who need to fix? The development mode can be the problem?  
Ty for your help, and sorry for my english…

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [June 29, 2017, 7:07am UTC](https://meta.discourse.org/t/poll-problem-when-i-use-d-binding/65257/2 "2017-06-29T07:07:34Z")

</div>

Are you trying to use a development install for production use? If so, this is not supported, and you should follow [these instruction](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) to install instead.

If you’re trying to develop Discourse (plugins): How did you setup your development install, exactly? Why do you need to bind to `0.0.0.0`?

---

<div class="post-metadata">

### Author: ![Yohan](https://avatars.discourse-cdn.com/v4/letter/y/e99b99/32.png) [@Yohan](https://meta.discourse.org/u/Yohan)
#### Post date: [June 29, 2017, 12:49pm UTC](https://meta.discourse.org/t/poll-problem-when-i-use-d-binding/65257/3 "2017-06-29T12:49:35Z")

</div>

Ty for your answer.  
Yes, i m in development, but i don’t understand why this binding can break only the polls (just the buttons) and not the others plugins…  
I have used “binding=0.0.0.0” to show Discourse to my colleague in our network. So he has access to my discourse, but the polls don’t work (it’s only displayed but no button).  
I continue to search…

---

<div class="post-metadata">

### Author: ![Yohan](https://avatars.discourse-cdn.com/v4/letter/y/e99b99/32.png) [@Yohan](https://meta.discourse.org/u/Yohan)
#### Post date: [July 6, 2017, 12:13pm UTC](https://meta.discourse.org/t/poll-problem-when-i-use-d-binding/65257/4 "2017-07-06T12:13:53Z")

</div>

I reply me… if it can help someone :  
the problem is the “-d” option, not really the binding. In fact, Discourse was launched in background, but it was that the problem… Discourse needs to be in forefront.  
So we have used a tool : “Screen”, and the following command :  
screen -S discourse -d -m bundle exec rails server --binding=0.0.0.0  
Good Luck…

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:44pm UTC](https://meta.discourse.org/t/poll-problem-when-i-use-d-binding/65257/5 "2024-06-08T12:44:36Z")

</div>

This topic was automatically closed after 2537 days. New replies are no longer allowed.
