[Catalyst] How to get IP address of the interface which the request come through

Peter Flanigan pjf at roxsoft.co.uk
Sat Mar 23 14:03:14 GMT 2013


On 23/03/13 12:12, N.A. wrote:
> I wan to get the  IP address of the interface(network device) which the
> request come through.

My bad.

Use $c->req->uri->host to get the hostname of the server

-- 

Regards



More information about the Catalyst mailing list