In your controller it is $self->tx->remote_address
2010/5/25 Иван Соколов <vaneska.ru@gmail.com>:
> Oh, sorry. I get it from $self->req->env->{REMOTE_ADDR};
>
> 2010/5/25 Иван Соколов <vaneska.ru@gmail.com>:
>> Hi all!
>>
>> How can i get remote ip where i run my app as daemon or daemon_prefork?
>> If a run my app as cgi i get remote ip from $self->req->env({REMOTE_ADDR});
>> But i didn't find how to get it in other modes.
>>
>> P.S. Sebastian, thank you for Mojolocious. It is realy great!
>>
>> --
>> Ivan Sokolov
>>
>
>
>
> --
> С уважением,
> Иван
>
> --
> You received this message because you are subscribed to the Google Groups "Mojolicious" group.
> To post to this group, send email to mojol...@googlegroups.com.
> To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.