Operating System - Linux
1756108 Members
4647 Online
108841 Solutions
New Discussion юеВ

Re: Cannot telnet to a port from another server

 
Tim Nelson
Honored Contributor

Re: Cannot telnet to a port from another server

service iptables status

to check the status of the personal firewall on the server


service iptables stop

stop the firewall if it is running..

John Guster
Trusted Contributor

Re: Cannot telnet to a port from another server

what is th eoutput of iptable -L?
Steven Schweda
Honored Contributor

Re: Cannot telnet to a port from another server

> is the telnet service enabled on the server?

> what is the telnet entry in /etc/services?

He's not using the Telnet service, so none of
that matters. He's using a Telnet client as
a test program to probe other (non-Telnet)
ports. Unless you're trying to talk to port
23 (Telnet), no one cares if the Telnet
server is configured/running anywhere.
Yaboto
Super Advisor

Re: Cannot telnet to a port from another server

[root@rcbbkp /]# cat /etc/services | grep telnet
telnet 23/tcp
telnet 23/udp
rtelnet 107/tcp # Remote Telnet
rtelnet 107/udp
telnets 992/tcp
telnets 992/udp
skytelnet 1618/tcp # skytelnet
skytelnet 1618/udp # skytelnet
hp-3000-telnet 2564/tcp # HP 3000 NS/VT block mode telnet
tl1-telnet 3083/tcp # TL1-TELNET
tl1-telnet 3083/udp # TL1-TELNET
telnetcpcd 3696/tcp # Telnet Com Port Control
telnetcpcd 3696/udp # Telnet Com Port Control
scpi-telnet 5024/tcp # SCPI-TELNET
scpi-telnet 5024/udp # SCPI-TELNET
ktelnet 6623/tcp # Kerberos V5 Telnet
ktelnet 6623/udp # Kerberos V5 Telnet
[root@rcbbkp /]#

[root@rcbbkp /]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@rcbbkp /]#

Steven Schweda
Honored Contributor

Re: Cannot telnet to a port from another server

> > > [...] It doesn't work [...]
> >
> > Which kind of "It doesn't work" is this?
>
> Still wondering...

My psychic powers are too weak to show me
the actual error message you see, so, unless
you show me, I won't know what it is.

> As usual, showing actual commands with their
> actual output can be more helpful than vague
> descriptions and interpretations.

Still true.
Nunes_2
Regular Advisor

Re: Cannot telnet to a port from another server

Hi!


do cat /etc/services | grep 9500
cat /etc/services | grep 9501
cat /etc/services | grep 9502

look if there is there.
look the firewall log, maybe its locking.

Regards