mathsfan
1/14/2007 10:25:00 AM
Maybe this can help you :
First,stop you iis,then start webrick like this:ruby script/server -p
80
Hassan Schroeder wrote:
> On 1/13/07, Robert Klemme <shortcutter@googlemail.com> wrote:
>
> > You actually can have *two* IP addresses on *one* NIC? Are you sure
> > about that? How would you configure that for example on Linux?
>
> man ifconfig :-)
>
> > Even if IIS and Webrick both support binding to just one IP address
> > (which I assume) then you still need two DNS names - one for each IP.
> > The OP did not sound as if that was what he wanted - if it's possible
> > at all.
>
> Actually, the OP said "Now I need to host another site..." which to me
> implies a unique host/domain name. So it would be easy to have his
> existing ASP sites mapped to one IP and the Ruby site to another.
>
> FWIW, my dev machines (SuSE currently, Windows in the past) always
> have multiple IPs configured so I can run different server types/versions
> simultaneously for testing...
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com