hi all: when i start webrick in netbeans and under ubuntu, it''s default port is 3000 but now i want to change it to 4000 when i start webrick in netbeans.........hmmm..., i know i can do it at terminal : ruby script/server -p 4000, but i usually do puts some param to debug , so that can see results at netbeans console... can anyone help me? thanks --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Right click (control-click on Mac) on the main project node in Projects window. Select "Properties" from popup list (last item). Select "Rails" from catagories list on Project Properties form. Set Server Port Number to value of your choosing. OK to save. Restart Server to use new port. On Sep 3, 3:19 am, xianfeng Wang <wang.fl1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi all: > > when i start webrick in netbeans and under ubuntu, it''s default port is > 3000 > > but now i want to change it to 4000 when i start webrick in > netbeans.........hmmm..., i know i can do it at terminal : ruby > script/server -p 4000, but i usually do puts some param to debug , so that > can see results at netbeans console... > > can anyone help me? thanks
haha..that''s great ...thank u ... On Thu, Sep 3, 2009 at 8:59 PM, Rick <richard.t.lloyd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Right click (control-click on Mac) on the main project node in > Projects window. > Select "Properties" from popup list (last item). > Select "Rails" from catagories list on Project Properties form. > Set Server Port Number to value of your choosing. > OK to save. > Restart Server to use new port. > > On Sep 3, 3:19 am, xianfeng Wang <wang.fl1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > hi all: > > > > when i start webrick in netbeans and under ubuntu, it''s default port is > > 3000 > > > > but now i want to change it to 4000 when i start webrick in > > netbeans.........hmmm..., i know i can do it at terminal : ruby > > script/server -p 4000, but i usually do puts some param to debug , so > that > > can see results at netbeans console... > > > > can anyone help me? thanks > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---