Hi All i want to change my the default port number for telnet services from 23 to say 2345. I have enabled the iptables rule to accept traffic from 2345 port , but still i am getting connection refused error. I have made following entry ion my iptables.
iptables -A INPUT -p tcp --dport 2345 -J ACCEPT
and reloaded the iptables file