[CentOS] how to open a tcp port?

Rajagopal Swaminathan raju.rajsand at gmail.com
Wed Mar 3 12:54:23 UTC 2010


On Wed, Mar 3, 2010 at 6:20 PM, Rajagopal Swaminathan
<raju.rajsand at gmail.com> wrote:
> Greetings,
> On Wed, Mar 3, 2010 at 6:10 PM, hadi motamedi <motamedi24 at gmail.com> wrote:

> is telnetd installed?
# yum install telnet-server telnet

> is the telnet deamon running on machine #1?
chkconfig telnet on

from: http://www.cyberciti.biz/faq/how-do-i-turn-on-telnet-service-on-for-a-linuxfreebsd-system/

The configuration file for telnet is /etc/xinetd.d/telnet. To enable
telnet server you need to open this file and make sure disable = no
read as disable = yes.

service xinetd restart
/etc/init.d/xinetd restart

Hope that helps...



More information about the CentOS mailing list