# Rails Server's case sense dilemma

**URL:** <https://www.ruby-forum.com/t/rails-servers-case-sense-dilemma/174270>\
**Category:** Rails\
**Created:** [August 24, 2009, 7:00am UTC](https://www.ruby-forum.com/t/rails-servers-case-sense-dilemma/174270 "2009-08-24T07:00:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dharshannew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@dharshannew](https://www.ruby-forum.com/u/dharshannew)\
**Post date:** [August 24, 2009, 7:00am UTC](https://www.ruby-forum.com/t/rails-servers-case-sense-dilemma/174270/1 "2009-08-24T07:00:24Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![dharshannew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@dharshannew](https://www.ruby-forum.com/u/dharshannew)\
**Post date:** [August 24, 2009, 7:27am UTC](https://www.ruby-forum.com/t/rails-servers-case-sense-dilemma/174270/2 "2009-08-24T07:27:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dharshannew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@dharshannew](https://www.ruby-forum.com/u/dharshannew)\
**Post date:** [August 24, 2009, 8:00am UTC](https://www.ruby-forum.com/t/rails-servers-case-sense-dilemma/174270/3 "2009-08-24T08:00:43Z")

</div>

Simon M. 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 Rails

Thanks ,  
Simon . You are right .
