Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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