Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-06-2011, 03:27 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Need to open telnet port

Hi All,

I am trying to open the telnet port on my system with port 4100 and for the same i have inserted the entries in iptables file using below command.
/sbin/iptables -A INPUT -s -p tcp -dport 4100 -j ACCEPT

After that i fire the following command
service iptables save this is my own server ip and when i tried to telnet this IP with 4100 port I received connection refused response message.

Request you all to help me and correct me if I am doing anything wrong....

Thanks & Regards,
Old 05-06-2011, 04:00 AM   #2
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 878

Rep: Reputation: 184Reputation: 184
Is telnet actually listening on port 4100? It should either be running and should show up as open in the output of "netstat -antp" or it should be configured in inetd or xinetd and the incomming connection attempt should run the telnet process which will open the port.

You also need to check that you don't have another rule above this one blocking the port before this rule gets reached.
1 members found this post helpful.
Old 01-17-2013, 03:21 AM   #3
LQ Newbie
Registered: Oct 2012
Posts: 6

Rep: Reputation: Disabled
Hi All,

Can any one tell me how to open this port 4100 from linux server?

I did the same iptables command but in netstat -antp output it shows only Listen. But telnet <ip> 4100 does not work!

Thanks in advance
Old 01-17-2013, 06:57 AM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
As baldy3105 pointed out, just opening a port is insufficient; you also need to ensure the telnet server is installed and listening on that port.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 06:58 AM
telnet port not open nish154 Red Hat 2 09-05-2005 05:12 PM
How to open the telnet port? vous Linux - Networking 5 02-06-2004 10:09 AM
open telnet port???? stonegold84 Linux - Networking 9 07-31-2003 01:59 AM
Need help to open Telnet port trocaking Linux - Networking 4 08-05-2002 12:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration