# Rails hosting

**URL:** <https://www.ruby-forum.com/t/rails-hosting/130021>\
**Category:** Rails\
**Created:** [February 24, 2008, 12:52pm UTC](https://www.ruby-forum.com/t/rails-hosting/130021 "2008-02-24T12:52:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m25](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@m25](https://www.ruby-forum.com/u/m25)\
**Post date:** [February 24, 2008, 12:52pm UTC](https://www.ruby-forum.com/t/rails-hosting/130021/1 "2008-02-24T12:52:30Z")

</div>

Hello,  
I have a win 2003 server which is hosting a website on IIS. If i  
want to add a rails rails application on that server what do i need to  
do. What i have done till now is installed mongrel and then ran it as  
mongrel\_rails start -p 192.168.1.200 -a 3002  
(Currently only for intranet that’s why the address 192.168.1.200)

When i try to connect to [http://192.168.1.200:3002/controller/view](http://192.168.1.200:3002/controller/view)(e.g.  
[http://192.168.1.200/person/new](http://192.168.1.200/person/new)) from the same machine i have no problem  
but when i try to connect to the same address from any other machine on  
the network i am unable to connect.  
Do i need to do something else.  
Please help me.  
Thank you.  
Regards,  
An.

---

<div class="post-metadata">

**Author:** ![m25](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@m25](https://www.ruby-forum.com/u/m25)\
**Post date:** [February 24, 2008, 12:55pm UTC](https://www.ruby-forum.com/t/rails-hosting/130021/2 "2008-02-24T12:55:02Z")

</div>

An Ar wrote:

> Hello,  
> I have a win 2003 server which is hosting a website on IIS. If i  
> want to add a rails rails application on that server what do i need to  
> do. What i have done till now is installed mongrel and then ran it as  
> mongrel\_rails start -p 192.168.1.200 -a 3002  
> (Currently only for intranet that’s why the address 192.168.1.200)
> 
> When i try to connect to [http://192.168.1.200:3002/controller/view](http://192.168.1.200:3002/controller/view)(e.g.  
> [http://192.168.1.200/person/new](http://192.168.1.200/person/new)) from the same machine i have no problem  
> but when i try to connect to the same address from any other machine on  
> the network i am unable to connect.  
> Do i need to do something else.  
> Please help me.  
> Thank you.  
> Regards,  
> An.

Correction:  
mongrel\_rails start -p 192.168.1.200 -a 3002 is to be corrected as  
mongrel\_rails start -a 192.168.1.200 -p 3002  
in the above question

---

<div class="post-metadata">

**Author:** ![m25](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@m25](https://www.ruby-forum.com/u/m25)\
**Post date:** [February 25, 2008, 9:40pm UTC](https://www.ruby-forum.com/t/rails-hosting/130021/3 "2008-02-25T21:40:52Z")

</div>

You need to get IIS to proxy the requests over to mongrel.
