Operating System - HP-UX
1820545 Members
2220 Online
109626 Solutions
New Discussion юеВ

Re: open telnet port 23/tcp

 
apple
Super Advisor

open telnet port 23/tcp

dear hpux guru,
if i want to telnet to port 5555, do i need to open port 23/tcp also (these server has firewall in between)? hope to hear from you. thank you.
14 REPLIES 14
Steven Schweda
Honored Contributor

Re: open telnet port 23/tcp

Access to port 5555 is not related to port
23.

See also:

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1241642
Court Campbell
Honored Contributor

Re: open telnet port 23/tcp

no. you just telnet like so:

telnet 5555

Looks like you are trying to get something going with data protector.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Rasheed Tamton
Honored Contributor

Re: open telnet port 23/tcp

Hi,

The default port of telnet is 23. So, if you type telnet hostname, it defaults, port 23 of the telnet. But if you say telnet hostname 5555, this means you are using telnet to connect to another port (5555).

As said above, 5555 is normally used for omniback (DP)

grep 5555 /etc/services

rgds.
apple
Super Advisor

Re: open telnet port 23/tcp

dear dp guru,
yes, it's for omniback. i want to deploy dp agent remotely using installation server. i can't telnet to # telnet hostname 5555.
dp guru, can u confirm this
with firewall presence, if i want to telnet hostname 5555, do i need to open port 23 also?
hope to hear from you. thank you


Ivan Krastev
Honored Contributor

Re: open telnet port 23/tcp

You don't need to open telnet for DP operation.
Port 23 is not used from DP, only 5555 for communication.

From cell server you can specify additional ports for backups.


regards,
ivan
Rasheed Tamton
Honored Contributor

Re: open telnet port 23/tcp

No. If you want to only connect to port 5555, then you just need to open 5555 only. You do not have to open port 23.
apple
Super Advisor

Re: open telnet port 23/tcp

i see. if i want to push in dp agent remotely from installation server, it says waiting for available free ports. what is the services and ports that i need to open somemore? i've openned these ports:
For remote installation you will also need
tcp/7
and
tcp/22 (ssh installation) and/or tcp/512 (non ssh installation)
but still remote deployment is not successful. would really appreciate your advice on the ports and services requirements for the data protector remote deployment. thank you
Rasheed Tamton
Honored Contributor

Re: open telnet port 23/tcp

Add the below line in /etc/services

omni 5555/tcp # DATA-PROTECTOR

You have to open the ports in the firewall to enable the traffic from cell manager to client, etc.

check the port is listening?
netstat -an | grep 5555


rgds.
apple
Super Advisor

Re: open telnet port 23/tcp

the server is not listening to the port 5555/tcp.
netstat -an |grep 5555 it return to the next hash
is that because we have not deploy the data protector agent yet is it?
have openned 5555 and 12000-12100 ports. what are the others ports that we need to open?
hope to hear from you. thank you
Rasheed Tamton
Honored Contributor

Re: open telnet port 23/tcp

If the ports are listening you will get a response that it is listening:

tcp 0 0 *.??? *.* LISTEN

instead of ??? you will see the port number

If the sessions are connected, then you will get a line for the socket with ESTABLISHED with source:destination IPs or hostnames with port numbers.

netstat -an|grep ESTA

tcp 0 0 IP.port IP.port ESTABLISHED

Check with your firewall admin whether the ports are opened.
Court Campbell
Honored Contributor

Re: open telnet port 23/tcp

Are you trying to deploy to an aix client. If so the docs state:

Before installing the Disk Agent component on an AIX system, check
that the portmapper is up and running. In the /etc/rc.tcpip file, there
must be the line that starts the portmapper:
start /usr/sbin/portmap ├в $src_running├в
The src_running flag is set to 1 if the srcmstr daemon is running. The
srcmstr daemon is the System Resource Controller (SRC). The srcmstr
daemon spawns and controls subsystems, handles short subsystem
status requests, passes requests on to a subsystem, and handles error
notification.


You might start there.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
TTr
Honored Contributor

Re: open telnet port 23/tcp

If you have not deployed the agent yet, the 5555 port problem does not apply yet.

Your problem is with deploying the agent. Are the ports 7, 22 and/or 512 open in the network/firewall? If not then you have to ask your network/firewall admin to open them.

Then check if these 3 ports have services listening on the dp agent server. a) for port 7 check /etc/inetd.conf and ensure that "echo stream tcp" and "echo dgram udp" are not commented. If they are commented, uncomment them and run "inetd -c" b) For port 22, the sshd must be running. sshd usually runs as a daemon so you check it using the "ps -ef |grep sshd| to see if it is running c) for port 512 the rexecd must be running. Check /etc/inetd and uncomment the "exec" service and run "inetd -c" if needed.

You could also check if all three ports are listening by using the command

netstat -a | egrep -e 'echo|\.22|exec'

note, this is on the dp agent server.

After you have successfully pushed the agent then you worry about the 5555 port.
apple
Super Advisor

Re: open telnet port 23/tcp

dear hpux guru,
our activity this morning:
1. local install dp (da & ma) on aix server - completed
2. deploy patches using installation server (remote deployment) - completed

during patches deployment, aix server is listening to port 5555/tcp. the network team has openned the ports 23, 22, 512, 5555, 12000-12100. but i don't know why we can't deploy remotely. the rexec, login has been enabled from aix server. the installation server is hpux and backup server that we want to deploy is aix. the servers are placed in different network zone.
attached is the error when we are trying to do remote deploy. do i miss anything? during error like, what is your ways to troubleshoot further. hope to hear from you. thank you.
Steven Schweda
Honored Contributor

Re: open telnet port 23/tcp

I know nothing, but did you try a forum
search for, say, "Cannot get a free port on
the client"? (Even Google found something.)