Shyam wrote: > > How do I check whether a particular port , say , SMTP port , is open ? There is tool called nmap in linux. With the help of that you can check a particular port is open or not. If is not installed on your system, download and install it. The other way to check whether a port is open or not is that telnet to that host at that specific host. For example to check whether smtp port on your system is open you can run: "telnet localhost 25" and see details. > Supposing a port , that I need to be open say , SMTP port is closed , how > do I open it ? Suppose a port is closed, to open them edit the appropriate files and restart inetd service. In RH linux these files are /etc/services, xinetd.conf and contents of /etc/xinetd.d or sometimes they might be inetd also. Note that it is the applications that opens the port.
> And is there any similar way to close a port you have thus opened ? To close a port , stop that app running at that specific port. For example to close port 21 stop FTP. There is a very good URL called http://www.google.com, :) Cheers. Mahantesh. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
