Hi , I found something strange with Mongrel Server , When i started my application with>RUBY SCRIPT/SERVER -P 3002application starts successfully but can''t render anything on browser. gives error => Unable to connect. When i starts with commanf>ruby script/server -p 3002Application runs successfully . any comment ? -- Posted via http://www.ruby-forum.com/.
Hi, Let me guess, you are using windows? That''s the only reason that RUBY SCRIPT/SERVER would actually work, as on any other OS, it would force you to use ruby script/server to start the server. That said, the -P isn''t a valid option, so the script is ignoring it and starting the server on the default port (3000). Cheers Simon On Mon, 24 Aug 2009 13:00:24 +0800, Ruby on Rails <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi , > > I found something strange with Mongrel Server , > > When i started my application with > >> RUBY SCRIPT/SERVER -P 3002 > > application starts successfully but can''t render anything on browser. > > gives error => Unable to connect. > > When i starts with commanf > >> ruby script/server -p 3002 > > Application runs successfully . > > any comment ?
Simon Macneall wrote:> Hi, > > Let me guess, you are using windows? > That''s the only reason that RUBY SCRIPT/SERVER would actually work, as > on > any other OS, it would force you to use ruby script/server to start the > server. > That said, the -P isn''t a valid option, so the script is ignoring it and > starting the server on the default port (3000). > > Cheers > Simon > > On Mon, 24 Aug 2009 13:00:24 +0800, Ruby on RailsThanks , Simon . You are right . -- Posted via http://www.ruby-forum.com/.