I am using rail for teambox at centos 6.3 server, actually this is just a trial and error before applying it live.
development:
adapter: mysql
host: 192.168.7.202
port: 3306
username: teambox
password: pass
database: teambox
and I am trying to run with #rails server -e development -b 192.168.7.202
and giving this error
Exiting
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in `initialize_without_backlog': Cannot assign requested address - bind(2) (Errno::EADDRNOTAVAIL)
please help me out
try this
rails server -e development -b 0.0.0.0 -p 3000
0.0.0.0 means it listens on all IPv4 addresses on the local machine
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With