On Thu, Jul 5, 2012 at 7:14 PM, Octavian Rasnita <orasn...@gmail.com> wrote: > Have you tried localhost:3000 or the correct URL http://localhost:3000 ? Yes. I tried again. > > --Octavian > > ----- Original Message ----- > From: "lina" <lina.lastn...@gmail.com> > To: <beginners@perl.org> > Sent: Thursday, July 05, 2012 1:03 PM > Subject: Something mojolicious > > >> Hi, >> >> Today I tried to write my first hello script, >> >> $ mojo generate lite_app hello >> >> vim hello to the following: >> >> get '/' => sub { >> my $self = shift; >> $self->render_text('Hello!'); >> }; >> >> >> $ morbo hello >> [Thu Jul 5 17:49:39 2012] [info] Listening at "http://*:3000". >> Server available at http://127.0.0.1:3000. >> >> But on my two webbrowers when I tried localhost:3000 it failed to open. >> >> netstat shows me >> tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN >> >> I don't know how to examine, >> >> Thanks ahead for your suggestions, >> >> Best regards, >> >> -- >> To unsubscribe, e-mail: beginners-unsubscr...@perl.org >> For additional commands, e-mail: beginners-h...@perl.org >> http://learn.perl.org/ >> >>
-- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/