Operating System - HP-UX
1752790 Members
6099 Online
108789 Solutions
New Discussion юеВ

FTP port 21 is not listening

 
Abid Iqbal
Regular Advisor

FTP port 21 is not listening

Hi,
I have restarted the ftp service but now the port 21 is missing form netstat -an output.
I am unable to establish ftp session.
How to open the port or any other solution.

4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: FTP port 21 is not listening

How have you restarted the ftp service? How did you determine that port 21 isn't listening?

Is the line for FTP still in /etc/inetd.conf?
Steven Schweda
Honored Contributor

Re: FTP port 21 is not listening

> I have restarted the ftp service [...]

How?

> but now the port 21 is missing form
> netstat -an output.

Ok.

> I am unable to establish ftp session.

"I am unable" is not a useful problem
description. It does not say what you did.
It does not say what happened when you did
it. As usual, showing actual commands with
their actual output can be more helpful than
vague descriptions and interpretations.

> How to open the port or any other solution.

> Is the line for FTP still in /etc/inetd.conf?

grep ftp /etc/inetd.conf
Abid Iqbal
Regular Advisor

Re: FTP port 21 is not listening

Thanks,
I have found the error in syslog file.
The issue is resolved.
Abid Iqbal
Regular Advisor

Re: FTP port 21 is not listening

Thanks