in reply to connection refused

On Unix systems, the lowest 1024 ports are (often?) restricted to privileged users such as root.

non-Perl: Andy Ford