Unable to Telnet to the Linux SUSE from windows with port 50000

0

Firewall has been disable at Linux SUSE server, port numbers from 50000:60020 has been enabled. I can able to ping the server able to telnet using IP. When I give port 50000 or 60000 in my telnet commands it says

Connecting To 192.168.209.135...Could not open connection to the host, on port 60000: Connect failed

Could some one help on this please ?


SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3

C:\Users\Krishna>ping 192.168.209.135

Pinging 192.168.209.135 with 32 bytes of data:
Reply from 192.168.209.135: bytes=32 time<1ms TTL=64
Reply from 192.168.209.135: bytes=32 time<1ms TTL=64
Reply from 192.168.209.135: bytes=32 time<1ms TTL=64
Reply from 192.168.209.135: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.209.135:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

This works fine:

telnet 192.168.209.135

Output of iptables:

summer:/etc/sysconfig # iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  0.0.0.0              anywhere            state NEW tcp dpts:DB2_db2champ:DB2_db2inst1_END

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Contents of the SuSEfirewall2:

summer:/etc/sysconfig # cat /etc/sysconfig/SuSEfirewall2
# Copyright (c) 2000-2002 SuSE GmbH Nuernberg, Germany.  All rights reserved.
# Copyright (c) 2003,2004 SuSE Linux AG Nuernberg, Germany.  All rights reserved.
# Copyright (c) 2005-2008 SUSE LINUX Products GmbH Nuernberg, Germany.  All rights reserved.
#
# Author: Marc Heuse, 2002
#         Ludwig Nussel, 2004-2008
#
# /etc/sysconfig/SuSEfirewall2
#
# for use with /sbin/SuSEfirewall2 version 3.6
#
# ------------------------------------------------------------------------     #
# PLEASE NOTE THE FOLLOWING:
FW_PROTECT_FROM_INT="no"
FW_SERVICES_EXT_TCP="50000:60019 telnet"

summer:/etc/sysconfig # netstat -tapn | grep :50000
summer:/etc/sysconfig # netstat -tapn | grep :60000

How can I open/use port 50000 to connect to the Linux SUSE host using telnet ?

Krishna

Posted 2015-03-12T23:09:22.100

Reputation: 1

What is listening on port 50000? Can you connect to it locally on the SUSE box? – Paul – 2015-03-13T00:04:36.170

Nothing is LISTENING on these ports for the moment. I can able to telnet locally with just host ip address but not with port 50000. These ports are reserved for db2. summer:~ # netstat -tapn | grep :50000 summer:~ # netstat -tapn | grep :60000 db2inst1@summer:~> telnet 192.168.209.135 Trying 192.168.209.135... Connected to 192.168.209.135. Escape character is '^]'. Summer (Linux release 3.0.76-0.11-default #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990)) (2) login: Firewall is disabled completely as rcSuSEfirewall2 status unused. Given port range in Yast, firewall, allowservices. – Krishna – 2015-03-13T08:18:18.627

Then how are you determining that it isn't working? What do you expect to happen? – Paul – 2015-03-13T08:21:04.173

I need to connect to suse using port number 50000 or 60000 as my client apps talk to the database server running on suse linux. How we can open specific port numbers to allow connection from remote locations. Here firewall is not a problem i guess, problem with port numbers that are not open cuurently on SuSE – Krishna – 2015-03-13T08:24:15.290

I don't follow. You appear to be trying to connect to a port that nothing is listening on and correctly getting a connection failure. The only way to fix this is too have something listening on the port. – Paul – 2015-03-13T08:29:46.197

No answers