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/


Reply via email to