Open rustamgasanov opened 8 years ago
I'm with the same problem +1
@rustamagasanov test as follows
bundle exec thin start -R private_pub.ru -e production -a 0.0.0.0 -p 9292
Here works fine!
@eduardobarbiero I know, thats why I wrote, that I can override host/port for both manually, but it's not a desired behaviour. I described the ways for workaround if someone is interested: http://stackoverflow.com/questions/33582812/rails-app-cant-connect-to-private-pub-on-vagrant/33641361#33641361
The server
key in config is not for the address to listen, but used by Faye client to send messages to the server. (PrivatePub.publish)
If you specify the host like this:
Then start a server with either
rackup
orthin
, both will start it incorrectly:Of course I can override host/port for both, but seems like the issue described it's not a desired behaviour.