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 <[email protected]> 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 ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

