in reply to Getting IP with HTTP::Daemon

This is a FAQ. Look here.