Script/Server options for other ports

Hi,

Does this mean that I have to reconfigure either bind or ror settings?

# script/server => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2009-11-27 12:10:47] INFO WEBrick 1.3.1 [2009-11-27 12:10:47] INFO ruby 1.8.7 (2008-08-11) [i486-linux] [2009-11-27 12:10:47] WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)         from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new'         from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'         from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `each'         from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners'         from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen'         from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize'         from /usr/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize'         from /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/ webrick.rb: 10:in `new'         from /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/ webrick.rb: 10:in `run'         from /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/ server.rb:111         from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 31:in `gem_ original_require'         from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 31:in `requ ire'         from script/server:3

Where should I change that in ror settings?

D

Quoting dwhitekiss <dwhitekiss@gmail.com>:

Hi,

Does this mean that I have to reconfigure either bind or ror settings?

# script/server => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2009-11-27 12:10:47] INFO WEBrick 1.3.1 [2009-11-27 12:10:47] INFO ruby 1.8.7 (2008-08-11) [i486-linux] [2009-11-27 12:10:47] WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - bind(2)

script/server --port=3001

For additional options: script/server --help

HTH,   Jeffrey

Pay your attention to the port. :slight_smile:

Thanks