1748169 Members
3942 Online
108758 Solutions
New Discussion юеВ

Re: mailx port

 
Martin Johnson
Honored Contributor

Re: mailx port

See my last entry.
Steven Schweda
Honored Contributor

Re: mailx port

> telnet: Unable to connect to remote host: Connection refused

"Connection refused" normally means that you
could communicate with the server system, but
that no one is listening at the requested
port. That is, no server is registered with
inetd (or equivalent) for that port, or else
no inetd-independent server is running which
would listen at that port.

> [...] sendmail was not running.

Like that. It's possible, but relatively
rare, that a firewall will cause that
complaint. Normally, a firewall blockage
will look more like an immediate connection
failure, not a no-listener-at-this-port
problem.
Steven Schweda
Honored Contributor

Re: mailx port

By the way, ...

> [...] My problem is I don't know which port
> mailx uses, so I don't know which port to
> open.
>
> Ten points for the right answer!

> SMTP normally uses port 25.

That answer was exactly what you asked for.
It's not my fault that you were asking the
wrong question (or that you were so tardy in
running the suggested test).

> [...] I'm sure it is a firewall issue. [...]

> I suspect it is a firewall issue. [...]

Sometimes actual evidence can be more useful
than either groundless certainty or
suspicion.