[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ports - Doubts



On Sat, Nov 09, 2002 at 07:35:15PM +0530, Shyam wrote:
> How do I check whether a particular port , say , SMTP port , is open ?

netstat -tulp, or portscan yourself with nmap.

> Supposing a port , that I need to be open say , SMTP port  is closed , how
> do I open it ?

A port is 'opened' by a program taking it and listening on it.  Install
an SMTP server or FTP server or...

> And is there any similar way to close a port you have thus opened ?

De-install the above program, or setup iptables to firewall the port.

-rob

Attachment: pgpDFrZTcFl8q.pgp
Description: PGP signature


Reply to: