in reply to Re^2: Systemd socket activated service in perl
in thread Systemd socket activated service in perl

The remote host is in $ENV{REMOTE_HOST}

Replies are listed 'Best First'.
Re^4: Systemd socket activated service in perl
by chrestomanci (Priest) on Jan 20, 2024 at 20:56 UTC

    Thanks for the tip that it will be in the environment of the spawned process, though actually it is in REMOTE_ADDR (not REMOTE_HOST)

      It's in REMOTE_ADDR for systemd.
      and in REMOTE_HOST for xinetd.